1. Create the script.
2. Make the files executable
# chmod +x /etc/led_all_off
# chmod +x /etc/led_all_on
3. Test the script
# /etc/led_all_off
# /etc/led_all_on
4. Manually set the Scheduling using the crontab
On my setting I-set to turn off at 10PM (22:00) and turn on at 7 AM (7:00)
# crontab -e
Enjoy sana nakatulong
2. Make the files executable
# chmod +x /etc/led_all_off
# chmod +x /etc/led_all_on
3. Test the script
# /etc/led_all_off
# /etc/led_all_on
4. Manually set the Scheduling using the crontab
On my setting I-set to turn off at 10PM (22:00) and turn on at 7 AM (7:00)
# crontab -e
Enjoy sana nakatulong
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
Last edited: