It might be very simple question, but how could I run a python script on my fedora dist every 2 days?
Thanks
Antonis
It is a question on cron. First is add a SHEBANG line on top of your python script.
#!/usr/bin/env python
Make your script executable with chmod +x
chmod +x
And do a crontab -e and add 0 0 */2 * * /path/to/your/pythonscript.py
0 0 */2 * * /path/to/your/pythonscript.py
1.4m articles
1.4m replys
5 comments
57.0k users