J'ai couru un peu en utilisant des travaux par lots, mais, je me demande ce qui serait le plus approprié? Peut-être utiliser time.strftime?Comment lancer un script python sous Windows?
1
A
Répondre
5
Si vous souhaitez effectuer des tâches planifiées récurrentes, le planificateur de tâches (Vista) ou les tâches planifiées (XP et, je pense, plus tôt) sont la méthode appropriée sur Windows.
0
Je voudrais utiliser second le planificateur de tâches.
J'ai également lu à propos d'une application basée sur python 'cron-like' PyCron - http://www.bigbluehost.com/article4.html. Si vous venez de l'extrémité de la ville d'Unix, vous le trouverez peut-être plus familier que le planificateur Windows. Je ne l'ai jamais utilisé moi-même mais cela pourrait être intéressant.
Questions connexes
- 1. Script Python - SCP sous Windows
- 2. Comment lancer un script python en arrière-plan?
- 3. Comment lancer un fichier .jar sous UNIX?
- 4. Comment lancer et exécuter un script externe en arrière-plan?
- 5. Lancer une commande shell avec un script python, attendez la fin et revenir au script
- 6. Comment puis-je exécuter à distance un script sous Windows?
- 7. django- lancer un script depuis l'administrateur
- 8. Comment puis-je exécuter un script shell Windows avant de lancer une application?
- 9. Django Shell raccourci sous Windows
- 10. Env Variables en Python (v3.0) sous Windows
- 11. Python: Verrouiller l'accès au répertoire sous Windows
- 12. base64 png en python sous Windows
- 13. lancer X windows sur la machine client
- 14. Comment créer un PyMe (bibliothèque Python) Exécuter en Python 2.4 sous Windows?
- 15. Comment lancer une instance d'une application en utilisant Python?
- 16. Comment vérifier si je cours sous Windows en Python?
- 17. Python - Sous-processus - Comment appeler une commande Piped dans Windows?
- 18. Compilez un script PHP sous Linux
- 19. Comment lier C lib à python pour l'intégrer sous Windows?
- 20. Comment puis-je obtenir le chemin Python sous Windows?
- 21. Variables d'environnement Python dans Windows?
- 22. ligne de commande Windows et Python
- 23. Comment lancer HTMLDOC à partir d'un script CGI?
- 24. Comment chronométrer un programme s'exécutant sous Windows?
- 25. Comment générer un GUID sous Windows Mobile?
- 26. Comment renifler un port USB sous Windows?
- 27. Comment puis-je utiliser un processus d'arrière-plan à partir d'un script CGI Perl sous Windows?
- 28. Comment rediriger la sortie stdout et stderr d'un script Perl vers un fichier sous Windows?
- 29. Comment définir la variable LANG sous Windows?
- 30. Faire un script Python exécutable chmod755?