Advertisement
Guest User

oef19

a guest
Dec 9th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #Oef1
  2. 0 11 4 12 * touch /home/pj/Desktop/test.txt
  3.  
  4. #Oef2
  5. */3 * * * * /home/pj/Documents/linux/labo19/knipper.sh
  6.  
  7. #Oef3
  8. 0 */4 * * 0 /home/pj/Documents/linux/labo19/sonscript.sh
  9. 15 * * * 1-5 /home/pj/Documents/linux/labo19/weekscript.sh
  10.  
  11. #Oef4
  12. # crontab als root gebruiker (sudo -i)
  13. # Cron heeft alleen zelfde rechten als de gebruiker waarvoor het
  14. # draait. Voor volgende commando's is root toegang nodig dus moet
  15. # het ook door root gedraaid worden.
  16. #0 8 * * * systemctl start apache2
  17. #0 23 * * * systemctl stop apache2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement