Guest User

Untitled

a guest
Jun 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. */1 * * * * /home/ajain/testscript.sh
  2.  
  3. #!/bin/bash
  4. echo "The script begins now"
  5. ping -c 2 live.com
  6. echo The script has been run on `date` >> /home/ajain/testscript.log
  7. echo "The script ends now"
  8. exit
  9.  
  10. bash testscript.sh
Add Comment
Please, Sign In to add comment