Skip to content

Instantly share code, notes, and snippets.

@maraca
Created June 24, 2014 17:53
Show Gist options
  • Save maraca/a7a07e75a70b3c7fdff0 to your computer and use it in GitHub Desktop.
Save maraca/a7a07e75a70b3c7fdff0 to your computer and use it in GitHub Desktop.
How to add a cronjob to synology.
# Edit the crontab
vi /etc/crontab
# Add your entry
52 10 * * * root echo 'hello' >> /tmp/hello
# Restart crond
RackStation> /usr/syno/etc.defaults/rc.d/S04crond.sh stop
stop crond
RackStation> /usr/syno/etc.defaults/rc.d/S04crond.sh start
Starting crond...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment