lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] lynx crontab issue.


From: Thomas Dickey
Subject: Re: [Lynx-dev] lynx crontab issue.
Date: Thu, 30 Jun 2011 07:03:52 -0400 (EDT)

On Thu, 30 Jun 2011, Thorsten Glaser wrote:

Bilal MK dixit:

Thats works in my terminal, But in crontab does not work,
#!/bin/bash
export TERM=xterm
/usr/local/bin/lynx -dump
http://www.google.com/safebrowsing/diagnostic?site=mysite.com >
/tmp/mysite.txt

That's not a crontab entry. A crontab entry would be:

*/30 * * * * /usr/bin/env TERM=xterm /usr/local/bin/lynx -dump 
http://www.google.com/safebrowsing/diagnostic?site=mysite.com >/tmp/mysite.txt

I'd assumed he was calling the given script from crontab.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]