Cron Jobs Not Available

Discussion in 'Site & Server Administration' started by JSalvador, May 10, 2007.

  1. #1
    My server doesn't offer support for cron jobs. Is there still a way to run a script that's hosted on my server remotely?
     
    JSalvador, May 10, 2007 IP
  2. eddy2099

    eddy2099 Peon

    Messages:
    8,028
    Likes Received:
    568
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is this a Windows or Linux server ?

    If it is Linux, it should support Cron and if it is Windows, you probably need to include the task in the Scheduler.
     
    eddy2099, May 10, 2007 IP
  3. Juan Pablo Olivera

    Juan Pablo Olivera Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If its Linux it should support cronjobs as eddie said, maybe cron daemon is down, try to restart it with:

    /etc/init.d/crond restart

    Otherwise you still can run your scripts remotely by calling them from another server with cron support, if its linux you can do:

    3 6 * * * wget -q -O - http://domain.tld/script.php > /dev/null 2>&1

    But it should work locally if its linux.

    Good luck. :)
     
    Juan Pablo Olivera, May 11, 2007 IP
  4. JSalvador

    JSalvador Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Im not sure if its linux or windowns but Im running on a free server thats using cpanel. It seems that the cpanel option for cron jobs is not there.
     
    JSalvador, May 11, 2007 IP
  5. eddy2099

    eddy2099 Peon

    Messages:
    8,028
    Likes Received:
    568
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ah, Free Server. That probably explains it. Then there is no way you can use cron as it seems the web host disable that feature. You might need to upgrade to a paying plan to use it.

    If it is Cpanel, then it is most definitely a Linux server.
     
    eddy2099, May 11, 2007 IP