in reply to Re^2: On win32 a scheduling task program doesn't work
in thread On win32 a scheduling task program doesn't work

Chances are thta this is a "permissions problem". Ie. You have set the task up to run when there is no user logged on, but failed to supply the appropriate user-id / password. .

But, it could also be a lack of a console, try system "cmd /c rsync --version";

Replies are listed 'Best First'.
Re^4: On win32 a scheduling task program doesn't work
by saintex (Scribe) on Jun 21, 2010 at 08:13 UTC
    with:
    system "cmd /c rsync --version";
    I have always:

    2 main rsync 3456 C:\Programmi\cwRsync\bin\rsync.exe: *** fatal error - couldn't initialize fd 0 for /dev/console

      I suspect that you will get more help from a cygwin support forum, as this is neither a Perl nor a windows problem.