Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- LOG=/var/log/website_open.log
- DATE=`date +'%a, %e %b %T %p'`
- echo "*** Website opened on [ $DATE ]***" >> $LOG
- echo " " >> $LOG
- xdg-open http://example.com | grep -v "Created new window in existing browser session." >> $LOG
- *** Website opened on [ Mon, 24 Nov 01:04:41 AM ] ***
- 0 0 5 1/1 * ? * /etc/cron.daily/example_com
- /tmp/crontab.CjOKO9/crontab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement