Cron and File Manipulation
Kris McElroy
kris.mcelroy at duracom.net
Fri Apr 1 11:03:48 PST 2005
First of all I am a newbie to FreeBSD and if I need to be pointed somewhere
else let me know.
I have 2 questions
I have a .sh script that I want to run every 25 minutes everyday
So would I do the following:
25 * * * * root /usr/local/bin/MY.sh >
/dev/null 2>&1
Also in the above script I want to add a line in my log file
Echo >> MY SH Completed
The thing is I would like to date and timestamp it, how could I do that?
Thanks,
Kris McElroy
kmcelroy at duracom.net
Chief Technology Officer
Duracom, INC.
www.duracom.net
More information about the freebsd-isp
mailing list