[CentOS] setup schedule cron job every other week?

Markus Falb markus.falb at fasel.at
Wed Jan 6 00:15:42 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/01/2010 00:47, mcclnx mcc wrote:
> We have CENTOS 5 on DELL server.  I tried to setup schedule cron job to run every other week on Saturday (NOT first and third week ).
> 
> Does ayone has ideal how to do it?

Maybe like that...
1 1 * * 6/2 /bla/bin/doit
would read: do /bla/bin/doit at 1:01 every second saturday.
Unverified, but see

#$ man 5 crontab

- -- 
best regards,
markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktD1i4ACgkQYoWFBIJE9eWPhQCdH2hsOBQD4BOlhfbIK4A/0TOL
KgMAoKXMypUhZh7yUB1G/vHhFf09cHNr
=Rr5L
-----END PGP SIGNATURE-----




More information about the CentOS mailing list