Problems with crontab

Paul Schmehl pauls at utdallas.edu
Fri Aug 5 19:36:42 GMT 2005


--On Friday, August 05, 2005 21:25:14 +0200 cell <bettan at 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 at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-questions mailing list