Skip to content

Instantly share code, notes, and snippets.

@otrenav
Created May 2, 2018 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otrenav/fc238859c8b6c3f53d8058ffae502a1d to your computer and use it in GitHub Desktop.
Save otrenav/fc238859c8b6c3f53d8058ffae502a1d to your computer and use it in GitHub Desktop.
Scheduling on Ubuntu Server
#
# Use indirection with bash script and change into working directory
#
# To gain root in Ubuntu
sudo su
# To see CRON logs after execution
grep -i cron /var/log/syslog
# To see and edit CRON jobs
sudo crontab -e
sudo crontab -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment