export EDITOR=vi
crontab -e

Crontabs follow this format, and I usually put this line at the top of my
crontab file so I don't forget. # is a comment
# minute | hour | day of mounth | month | day of week | command

So to run a script at 5:45pm on the 15th of every month:
45 17 15 * * /home/zibby/bin/my-script.sh


You can use commas to makes things shorter, like if I want to run it on
the 1st and the 15 of Aug, Nov, and Jan at 3am...

00 03 01,15 01,08,11 * /home/zibby/bin/my-script.sh

At least I belive Day of Week and Month are numerical... ;)

Andrew S. Zbikowski | http://www.ringworld.org
 A password is like your underwear; Change it
 frequently, don't share it with others, and
     don't ask to borrow someone else's.




_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list