Just use crontab -e
and follow the tutorial here.
Look at point 3 for a guide on how to specify the frequency.
Based on your requirement, it should effectively be:
*/10 * * * * /usr/bin/python script.py
More Related Contents:
- Cron job: how to run a script that requires to open display?
- Environment Variables when script run by cron
- Why does multiprocessing use only a single core after I import numpy?
- Cron and virtualenv
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- How can I set the ‘backend’ in matplotlib in Python?
- How to make a Python script run like a service or daemon in Linux
- Running Selenium WebDriver python bindings in chrome
- Python spawn off a child subprocess, detach, and exit
- How to terminate process from Python using pid?
- Compare two images the python/linux way
- Packaging a Python script on Linux into a Windows executable
- How to kill a python child process created with subprocess.check_output() when the parent dies?
- Crontab not executing a Python script? [duplicate]
- How would I build python myself from source code on Ubuntu?
- Set chrome browser binary through chromedriver in Python
- Python – is time.sleep(n) cpu intensive? [duplicate]
- Can Python select what network adapter when opening a socket?
- Change default Python version from 2.4 to 2.6
- Return value of x = os.system(..) [duplicate]
- Splitting out the output of ps using Python
- Where can I find and install the dependencies for pygame?
- Sending a password over SSH or SCP with subprocess.Popen
- How to run a script in the background even after I logout SSH?
- Show matplotlib plots (and other GUI) in Ubuntu (WSL1 & WSL2)
- Uninstall python built from source?
- PYTHONPATH not working for sudo on GNU/Linux (works for root)
- Pip is not working for Python 3.10 on Ubuntu
- Get mouse deltas using Python! (in Linux)
- On linux SUSE or RedHat, how do I load Python 2.7