[plug] crontab

Ryan ryan at slowest.net
Sun Sep 23 18:28:19 WST 2001


Crudely, you can add this to the end of /etc/crontab:

0,10,20,30,40,50  *  *   *   *  {user}   lynx -dump 
http://dyndns.dk/opdat?name=madgino&pw=i38DpPyVa917U&silent=1 > /tmp/somefile

{user} = username you want the process to run as

remember to restart cron

If you want the HTML source code not just the output use lynx -source

Ryan

At 06:06 PM 23-09-01 +0800, you wrote:
>Hi ppls.
>
>Ive got this little problem.
>
>Im trying to tell crontab to request a url of
>http://dyndns.dk/opdat?name=madgino&pw=i38DpPyVa917U&silent=1 every 10
>minutes. I dont know exactly how to do it because ive tried to use lynx
>with the url in quotes which works, but I dont how to tell lynx to exit
>once it recieves the request.
>
>Any ideas would be greatly appreciated.
>
>Frank.




More information about the plug mailing list