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

RE: [cobalt-developers] Cron



That could mean that the path to PHP isn't correct.

Does this command work when you run it manually?  Or does it only
provide this error when run as a cron job?
Matt Nuzum

On Sun, 2002-02-24 at 16:16, wwisew@xxxxxxxxx wrote:
    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