Skip to content

Instantly share code, notes, and snippets.

@mehmetboraezer
Created June 22, 2017 22:13
Show Gist options
  • Save mehmetboraezer/adce10fc0614aeb29a4490a89589a531 to your computer and use it in GitHub Desktop.
Save mehmetboraezer/adce10fc0614aeb29a4490a89589a531 to your computer and use it in GitHub Desktop.
  • create new cron script

     touch /etc/cron.daily/cleanup
    
  • set executable permission

     sudo chmod +x /etc/cron.daily/cleanup
    
  • check running status

     run-parts -v /etc/cron.daily
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment