Scheduled Task causes the application to 'hang'; freeze; etc

Report client bugs
Locked
bradleyrose
Posts: 1
Joined: Fri Aug 30, 2019 9:29 am

Scheduled Task causes the application to 'hang'; freeze; etc

Post by bradleyrose »

Am trying to create a scheduled task that will upload files to an SFTP site on a regular schedule. I need to archive the files sent as well. So I configured a site with all info and have it copy the files to an archive dir before uploading, then delete after uploading.
It works great.
Now the filenames are different everytime, so I need to wildcard it. So I created the following command line:

"C:\Program Files\CoreFTP\coreftp.exe" -s -u D:\ftpdire\Interface\LocalUser\CERABCEXP\*.* -site ABC

If I launch this from the command line, it works great. However, if I make a Scheduled Task to run this, the whole thing just hangs. I added a log switch and it creates the log file but there's nothing in it. Its 0k.

Have upgraded to version 2 with the same results. Ansi version=same results.

Any assistance is greatly appreciated.
ForumAdmin
Site Admin
Posts: 979
Joined: Mon Mar 24, 2003 4:37 am

Re: Scheduled Task causes the application to 'hang'; freeze; etc

Post by ForumAdmin »

if you are setting up the scheduled task manually, make sure you specify the Windows account for it to use (the one that created the site profile). In most instances the system account will no longer have permission to run a task.
Locked