How to add crontab job
Revision as of 11:06, 19 July 2021 by Harry (talk | contribs) (Created page with "{{GD Template Impl}} sudo crontab -e File:Crontab-step1.png Choose "1" then press Enter Add a line at the end of the file that reads like this: @reboot python /home/p...")
sudo crontab -e
Choose "1" then press Enter
Add a line at the end of the file that reads like this:
@reboot python /home/pi/x735-v2.5/pwm_fan_control.py
Please note the path of this file.
Save and exit (CTRK + O and ENTER to save it). In nano editor, you do that by hitting CTRL + X, answering Y and hitting Enter when prompted.
Enable comment auto-refresher