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

RE: [cobalt-users] PHP and crontab



> then put
> 20 14 * * * * /home/sites/home/users/admin/snag.sh
>
> in your crontab.
>
> It should work, if you have either curl or lynx installed (using the
> appropriate command, of course).
>
Got the same email from the server:
From: Cron Daemon
Sent: Monday, June 12, 2000 4:12 PM
Subject: Cron <admin@admin> * /home/sites/home/users/admin/snag.sh


 /bin/sh: script.cgi: command not found

 That shouldn't be anything like:

#!/bin/sh
curl "Location: http://www.domain.com/cgi-bin/script.cgi";

[admin admin]$ whereis curl
curl:
[admin admin]$

So it appears to be on the server.



should it? I just copied your script from the previous post for the .sh
file.

I tried:

[admin admin]$ curl http://www.domain.com/cgi-bin/script.cgi
bash: curl: command not found

Just trying to accomplish this as simply as possible without having to
install any modules.

TIA
--
Dan Kriwitsky