in reply to Making a system command work via a scheduled task.

1) you're not error checking (  = IO::File-> ... or die "Uh oh $! "; , see autodie ) 2) you're not checking the error logs ( "doesn't work" is not an error message )

"scheduled tasks" are much like crontab or CGI, a different environment, so you have to verify everything from paths to permissions -- you start by checking the logs

checklists CGI Help Guide and Troubleshooting Perl CGI scripts

Re: system command is not working

scheduled task error log -> How to troubleshoot scheduled tasks in Windows XP and in Windows Server 2003