More info on cron at
\http://www.devdaily.com/linux/unix-linux-crontab-every-minute-hour-day-syntax
http://www.howconfig.com/linux/crontab/
Remove these ads by
Signing UpStep 1Get the info.
So you want to use your favorite edtitor (gedit, vim, nano, or etc) and create k200.sh (or a name you prefer).
$ nano k200.sh
k200.sh
[code]
#=========================================================
# batch file to let me know when I get to 200,000 views.
username="computothought"
let goal=200000
let k200=$(elinks www.instructables.com/member/$username/index.html | grep "Total Views" | sed 's/[^0-9]*//g')
# echo $k200
if [ $k200 -gt $goal ]; then
zenity --info --text "Hip hip hooray, you hit 200,000 views." --display=:0.0
fi
[/code]
Then we need to make tce program execucable.
$ chmod +x k200.sh
So far so good.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|









































