Skip to content

Instantly share code, notes, and snippets.

@RickDB
Created April 1, 2016 13:02
Show Gist options
  • Save RickDB/18f3421148adbe57dedf08f8a61b6f0c to your computer and use it in GitHub Desktop.
Save RickDB/18f3421148adbe57dedf08f8a61b6f0c to your computer and use it in GitHub Desktop.
#write out current crontab
crontab -l > mycron
#echo new cron into cron file
echo "0 18 * * * hyperion-remote --clearall" >> mycron
echo "30 22 * * * hyperion-remote --color black -p 1" >> mycron
#install new cron file
crontab mycron
rm mycron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment