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

RE: [cobalt-developers] Cron



Hello,

I have tested to add into my Crontab to add this line but I always receive
the same error message (It was working only one day)after :
/bin/sh: /dev/null
: Permission denied

What should I do to set the permissions right to use this .PHP with a cron
action

Cedric

-----Message d'origine-----
De : cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]De la part de Ramón
Batalla
Envoyé : lundi, 25. février 2002 08:32
À : cobalt-developers@xxxxxxxxxxxxxxx
Objet : Re: [cobalt-developers] Cron


Test to add this line in your /etc/crontab file:

15 0,6,12,18 * * * root lynx -dump http://www.domain.com/cron.php >
/dev/null
^^^^^^^^^^^^^^^^^^
Change this time definitions triggers as need

Hope this help.
R.Batalla

----- Original Message -----
From: <wwisew@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Sunday, February 24, 2002 10:16 PM
Subject: RE: [cobalt-developers] Cron


I have tried it but I have another problem:

Cron always tell me that the file doesn't exist, where should I put
the file
that cron reconized it....?

Cron Message:
/bin/sh: /home/sites/home/import.php
: No such file or directory

Cedric

-----Message d'origine-----
De : cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]De la part de Matthew
Nuzum
Envoyé : dimanche, 24. février 2002 16:53
À : Cobalt Dev
Objet : Re: [cobalt-developers] Cron


Compile PHP as a cgi module.  Then you can run it from the command
line
to do all of your scripts.  Just put:
#!/usr/bin/php
as your sh-bang.

There's a great article on www.phpbuilder.com.  Check out:
http://www.phpbuilder.com/columns/darrell20000319.php3

Matt Nuzum

On Sun, 2002-02-24 at 07:08, wwisew@xxxxxxxxx wrote:
    That could help to setup a Cron with a .PHP scripts... What should
I
do...

    Cedric

    _______________________________________________
    cobalt-developers mailing list
    cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers