Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Guest wrote:

May I know what does this mean? actually I'm facing similar problem whereby I shedule the scp scirpt to run everyday but somehow it seems not running well. the schedule task status show running but nothing happen althought the status is running. Please help me here. Thank you in advance. :)

Have you checked log file to see what's wrong?
Guest

Put your code to check FTP operation response code and if its not successful, command it to retry until successful.


May I know what does this mean? actually I'm facing similar problem whereby I shedule the scp scirpt to run everyday but somehow it seems not running well. the schedule task status show running but nothing happen althought the status is running. Please help me here. Thank you in advance. :)
Vasu

Windows scheduled task fails, but only sometimes

If it works some times, there is nothing wrong with your script(s). Put your code to check FTP operation response code and if its not successful, command it to retry until successful.
Guest

Windows scheduled task fails, but only sometimes

There is a remote site that posts files for me to download on a daily basis. I have set up a script to sync my local directory with the remote directory. Every time I have run this script manually it has worked. I set up a Windows scheduled task to execute the same script and use the same account that I use to run it manually. 90% of the time the automated script executes perfectly. The remaining 10% of the time, the job will start and get to the step, "Collecting synchronization list for local directory and remote directory...". Right after that step it closes connection without downloading anything.

I'm out of ideas at this point.