Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scheduled task not working on server
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Scheduled task not working on server
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01613647
Message ID:
01613647
Vues:
46
We have a scheduled job that has been in place for several years (using the Windows Task Scheduler) on my computer (originally XP, more recently Win7/64). Now we're trying to run it from a Win Server 2012 machine, and so far we haven't been able to get it to work.

It's a very simple VFP executable that simply clears out time & attendance records at the end of every two-week period. It copies two tables into a backup folder, then zaps the table for the prior period before appending the current records into the prior period table and then zapping the current table.

If I log on to the server and navigate to the location of this program it will run, but there's something about setting it up in the Task Scheduler that I must be missing. It's apparently trying to launch it when the scheduled time arrives - the History tab shows the following:
- Task triggered on scheduler
- Created Task Process
- Task Started
- Action Started

But none of the files have been updated, so it clearly is not executing. I've tried running it under my user account (which has full privileges) as well as the administrator account. It's set up the same as on my Win7 box, where it has never failed. I tried setting up two scheduled jobs that each consist of batch files that copy files into another folder, and those work consistently - it's just the VFP executable that doesn't want to run (it has no UI).

Any suggestions appreciated!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform