I have a python script, and I wish to run it once and only once everyday.
I did some research on the crontab
command, and it seems to do so, but at a fixed time each day.
The issue is that my computer won't be on all day and a specific time for running it is just not possible. What can I do?
Could a log file help? I was thinking of doing a crontab
every 5 minutes or so and scanning a log file to see any runs for the day.