Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2005 14:36:41 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        cell <bettan@nerim.net>, freebsd-questions@freebsd.org
Subject:   Re: Problems with crontab
Message-ID:  <AD907A2AB9ADD112FECB1B08@utd59514.utdallas.edu>
In-Reply-To: <007c01c599f3$67edfd80$0301a8c0@danielle>
References:  <007c01c599f3$67edfd80$0301a8c0@danielle>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Friday, August 05, 2005 21:25:14 +0200 cell <bettan@nerim.net> wrote:

> Hello , i have problem with crontab , i tried to configure crontab for
> run command every three days at 5h00 AM.I use this command but i believe
> it's not good :
>
> 0       5       1-31/3  *       *       root    cd
> /home/rootfix/Maildir/cur && rm -f *
>
>
> Anyone have a solution ?
>
0         5        *        *        0,3 is about as close as you can come
Or
0         5     1,4,7,10,13,16,19,22,25,28    *    *

See man (5) crontab

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD907A2AB9ADD112FECB1B08>