Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

10 Jul 2005

Scriptable browser

Last couple of days i have been trying out Simple Test. It allowed me stop stop echo and print_r variables all over the place. The package also has a Scriptable Browser.

At smscity.be you can earn credits each day. Therefor you have to visit their site and click some links. I wrote a smscity.txt script that does this for me.

Now all i had to do is make sure this script is executed each day, so i edited my crontab. It looks like:

###############################################################################
# 
# # 
###############################################################################
# $###############################################################################
@reboot /usr/bin/fetchmail -d 1800 
0,10,20,30,40,50 \* \* \* \* /usr/bin/wget -O /dev/null http://timvw/cron/blogmarks.php > /dev/null 2>&1 
30 02 \* \* * /usr/bin/wget -O /dev/null http://timvw/cron/smscity.php > /dev/null 2>&1
# \* \* \* \* \* \* 
# | | | | | |
# | | | | | - command to be executed 
# | | | | --- day of week (1 - 7) (monday = 1) 
# | | | ----- month (1 - 12) 
# | | ------- day of month (1 - 31)
# | --------- hour (0 - 23) 
# ----------- min (0 - 59)