Changes

Jump to navigation Jump to search

How to add crontab job

7 bytes removed, 19:29, 28 November 2022
no edit summary
Choose "1" then press Enter
Add a the command line you want to execute at the end of the file that reads like this:
@reboot python /home/pi/x735x-v2.5c1/pwm_fan_controlfan.py
or
 
@reboot python /home/pi/x-c1/fan.py
orPS:
1. '''or any other job you want to run automatically after boot@reboot python /home/pi/x-c1/fan.py''' is a sample command, You '''MUST'''to modify it according to your needs.
2. <span style="color:red;">Please make sure that the file path and file name are correct</span>
you can place the other shell command.
[[File:Crontab-step2.png]]

Navigation menu