cygwin cron

md021028


use crontab command to specify command such as (ntbackup):


# ** I use this to control output filename, and run at midnight everyday, changes to crontab are reread immediately


0 0 * * * (E:/WINNT/system32/NTBACKUP.EXE backup "@E:\Documents and Settings\Administrator.MARKHOME\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\markhome.bks" /a /d "Set created 23/09/2002 at 11:22" /v:no /r:no /rs:no /hc:off /m normal /j "markhome backup to sunray" /l:s /f "b:\markhome`date +%y%m %d`.bkf")


then install service (will install with autostart):


cygrunsrv -I cron -p /usr/sbin/cron -a -D


and run it:


net start cron