Information générale
Titre:
Scheduled task not working on server
Versions des environnements
Network:
Windows 2008 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement