19 May
2004
19 May
'04
12:08 a.m.
hi, Laura
In <573C3D25471BAE4DB0CDA25B1FE6C3832E3411@aa16exc.int.doucetandassociates.com> "Laura McCord" <Laura.McCord@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@toyoake.or.jp>sS