[CentOS] setup schedule cron job every other week?

Markus Falb markus.falb at fasel.at
Wed Jan 6 00:06:59 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/

iEYEARECAAYFAktD1CIACgkQYoWFBIJE9eUP+ACfdrYY/M/kg0P3WMhvJqD6fhnr
V8oAn0qjpppXPyapu6HU4UxIntQu6BYD
=XLyR
-----END PGP SIGNATURE-----



More information about the CentOS mailing list