in reply to How to schedule an activity on Windows using Perl?

Hi imperl

I’m a big fan of cronw.
I use it on a daily basis to run bat and perl scripts.

Below is an example of the cron file syntax for running bat and perl scripts jobs on WinXP.
Adding or changing a job is simply a matter of editing the cron text file.
#-------------------------------------------------------------------- # Run a perl script at 06:04 and 16:04 each day. #-------------------------------------------------------------------- 04 6,16 * * * C:\perl\bin\wperl.exe C:\Perl\_scripts\a_perl_script.pl #-------------------------------------------------------------------- # Run a bat script at 08:01 and 17:01 each Friday. #-------------------------------------------------------------------- 01 08,17 * * 5 C:\WINNT\system32\cmd.exe /c "C:\a_bat_script.bat" #--------------------------------------------------------------------
Dave :-)