Howdy, y'all:

 I want to run a script monthly.
(update my dynamic DNS account)
I (as 'root') ran 'crontab -e' and added this line:

5 6 7 * date /usr/local/src/ez/dyndns.conf >> /share/dyndnsup.txt 2>>
/share/dyndnsup.txt

This seems to be the syntax indicated by 'man crontab'.
If I understand the syntax of crontab, the above line will 
every 7th of the month, at 06:05, execute my dyndns.conf file
and send standard and error messages to file /share/dyndnsup.txt.

 Is this correct syntax?
 Is there a syntax checker for crontab like testparm for samba?

Regards, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to