Announcement

Collapse
No announcement yet.

PHP Cronjob problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Cronjob problem

    I have a script that delete subscribed user after specified time and I run it via lynx in cronjob 5 secs after 12 midnight everyday.
    The result...it runs..php executed ..but the system don't know how to close the lynx and mail me the error. And I don't want the system mail me the error..

    I've put -> *** lynx://127.0.0.1/blah.php > /dev/null
    And still the system mail me the error....

    How about wget ? I wget runs fine in cronjob ?

    Thank you

  • #2
    Usually I don't use anything like that at all, I just run the php file at the console, like th is:
    ' php blah.php '

    Comment


    • #3
      Well....my server don't have CGI version of PHP

      Comment


      • #4
        Whats a cron job for?

        Comment


        • #5
          Cron is used to run a certain program or command at a certain time...

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X