[Zope] Can't get my crontab -e working
Sumiya Sakoda
sakoda at toyoake.or.jp
Tue May 18 20:08:01 EDT 2004
hi, Laura
>>>>> In <573C3D25471BAE4DB0CDA25B1FE6C3832E3411 at aa16exc.int.doucetandassociates.com>
>>>>> "Laura McCord" <Laura.McCord at doucet-austin.com> wrote:
> This is what I did:
> crontab -e
> */2 * * * * wget http://path/to/my/pythonscript
If you access internet via proxy server, you need to set environment
variable.
This is a sample script named getscript.sh
--
#!/bin/sh
export http_proxy=http://proxydomain:proxyport
CMD=`which wget`
${CMD} http://path/to/my/pythonscript
--
and your cron like this.
--
*/2 * * * * /yourpath/getscript.sh
--
-
Sumiya Sakoda <sakoda at toyoake.or.jp>sS
More information about the Zope
mailing list