Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- */1 * * * * /home/ajain/testscript.sh
- #!/bin/bash
- echo "The script begins now"
- ping -c 2 live.com
- echo The script has been run on `date` >> /home/ajain/testscript.log
- echo "The script ends now"
- exit
- bash testscript.sh
Add Comment
Please, Sign In to add comment