[ILUG] Crontab

Fred Legrand fred_legrand at mail.com
Tue Feb 3 16:58:06 GMT 2009


Hi all,
Is it possible to run a command with crontab but only every second Sunday?
I need stop and start SAP every second Sunday on one server, my crontab entry work well for every sunday but I am clueless to have it scheduled every 2nd Sunday...

0 3 * * 0 /usr/bin/su - sapadm -c "stopsap"
30 3 * * 0 /usr/bin/su - sapadm -c "startsap"

A bit of help would be nice 
Thanks in advance 
Fred 






-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com




More information about the ILUG mailing list