Date: Fri, 1 Apr 2005 13:02:49 -0600 From: "Kris McElroy" <kris.mcelroy@duracom.net> To: <freebsd-isp@freebsd.org> Subject: Cron and File Manipulation Message-ID: <200504011303920.SM01232@KrisLaptop>
next in thread | raw e-mail | index | archive | help
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@duracom.net Chief Technology Officer Duracom, INC. www.duracom.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504011303920.SM01232>