'''PS:''' 1. '''@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 note make sure that the file path of this and filename are correct</span> [[File:Crontab-2.png|800px]]
[[File:Crontab-step2.png]]
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.
Please run 'sudo reboot' to reboot device to enable crontab job.