We have a PHP script that copies files and folders from a Windows 2008 R2 computer to a Debian Linux webserver. The script works perfectly when run from the command line. However, when we try to run it as a scheduled task, it can't "see" any files or folders on the Windows computer.
I used get_current_user() and when run from CLI or Scheduled Task it returns the same user, so I don't think that's the issue.
Is there something special I need to configure in the scheduled task?
Thank you!
I used get_current_user() and when run from CLI or Scheduled Task it returns the same user, so I don't think that's the issue.
Is there something special I need to configure in the scheduled task?
Thank you!