Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scheduler
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00215169
Message ID:
00215272
Vues:
31
>>I have a couple of VFP EXEs that need to run unattended overnight. I need them to start at a specified time. I have tried getting the EXEs to run using NTs scheduler with the AT command and I have tried using Norton's Scheduler. Neither method will run the VFP EXEs successfully. How can this be done?
>
> I can almost guarantee this is because something is set-up wrong in the schedulers, not something specific to VFP. In fact, dealing with NT's schedulers was so frustrating (because of this and other limitations) I ended up buying a third party scheduler (NT-Crond, now CronSYS from ifdef software: http://www.ifdef.com)
>
> When you're using the built-in scheduler you need to make sure you've set the app up to interact with the desktop. Actually, under NT 4.0 I've had better luck putting any calls to other programs (ie. your VFP app) in a .CMD file (batch file), then having the command scheduler call that.
>
> When you're trying to set it up, make sure you keep checking the Event log. It will usually give you a vague reason why it's failing.
>
> Is this NT 3.51 or NT 4.0? If you still can't make it work after trying the above, let me know. I'll see if I can grab one of our "AT" entries for you to work from.

I am running NT 4.0 with SP 4. I have tried putting the command to start the EXE in a BAT file, then calling the BAT file from the Scheduler. That did not help. What is the difference between a BAT file and a CMD file?
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform