One minor thing - I note you have a relative path name for '1.txt'. It is always safer to use an absolute path name just in case the script runs in an unexpected location
Nothing succeeds like a budgie with no teeth.
Comment on Re: Help! perl in scheduled task doesn't work!