lundi 27 novembre 2017

Python number generation in a script when using crontab

I have I Python Script, controlled by a crontab. I should be executed once an hour. Each time it should be a different thing, so there should be something like a counter, that count´s up from one.. As the script is executed new each time I don´t now how to "store" what the last int was.. any ideas how I can do it? Thanks




Aucun commentaire:

Enregistrer un commentaire