IDNetters Forums

Technical News & Discussion => Windows News & Discussion => Topic started by: Ray on Mar 01, 2011, 12:25:54

Title: Windows 7 Task Scheduler problem
Post by: Ray on Mar 01, 2011, 12:25:54
I am having  a problem with this scheduler, I'm trying to set up a task to run my FTP programme to automatically download a file on a from a remote server every week. I've set up a task to launch the FTP programme so that it will perform the download, however for some reason that I can't determine the Windows task scheduler is failing to launch the ftp exe file, any thoughts would be appreciated.
Title: Re: Windows 7 Task Scheduler problem
Post by: Rik on Mar 01, 2011, 12:36:12
Does it need some command line switches, Ray?
Title: Re: Windows 7 Task Scheduler problem
Post by: Lance on Mar 01, 2011, 12:39:33
Is the scheduler service started?
Title: Re: Windows 7 Task Scheduler problem
Post by: Ray on Mar 01, 2011, 12:57:21
Quote from: Rik on Mar 01, 2011, 12:36:12
Does it need some command line switches, Ray?

No it doesn't, Rik, you just need to enter the path to the exe file on the actions tab like so C:\Program Files\SmartFTP\SmartFTP.exe but when you try to run the task you get the following errors in the History, launch failure and run failure.

Quote from: Lance on Mar 01, 2011, 12:39:33
Is the scheduler service started?

Yes it is, Lance.
Title: Re: Windows 7 Task Scheduler problem
Post by: Steve on Mar 01, 2011, 16:06:38
Permission issue?
Title: Re: Windows 7 Task Scheduler problem
Post by: Ray on Mar 01, 2011, 16:12:53
Quote from: Steve on Mar 01, 2011, 16:06:38
Permission issue?

I can't see any obvious issues so far, but I suspect that could be the cause, Steve, I have noticed from the Task Manager that the programme tries to start gets up to about 9200kb and then terminates within about 4 or 5 seconds. I've tried setting up the same type of schedule with other programmes and they seem to work as expected.  :dunno:
Title: Re: Windows 7 Task Scheduler problem
Post by: Glenn on Mar 01, 2011, 16:23:37
Have you tried another FTP program, Ray?
Title: Re: Windows 7 Task Scheduler problem
Post by: Ray on Mar 01, 2011, 17:16:38
Well it seems to work with Cuteftp, looks like I'll have to change my FTP programme.  :P
Title: Re: Windows 7 Task Scheduler problem
Post by: Rik on Mar 01, 2011, 17:27:30
Should have stuck to XP. ;)