Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    3

    Default None of my Cronjobs are working :(

    Hi Guys,
    I've tryed the following ways to start my Cronjob: (Commands)
    /home/public_html/getdata.php?cron=yes
    /public_html/getdata.php?cron=yes
    http://www.fullpath.com/morpheus/getdata.php?cron=yes
    php -q /public_html/getdata.php?cron=yes
    php -q /home/morpheus/public_html/getdata.php?cron=yes

    What Is the Problem? Don't move the Thread in the Cpanel Beginners Forum - nobody in there helps.

    Thank you,
    Bigzed.

  2. #2
    Member
    Join Date
    Sep 2004
    Posts
    422

    Default

    Try

    0 0 * * * /usr/bin/php -q /home/morpheus/public_html/getdata.php?cron=yes

    To run the job at midnight daily.

    From command line, does this actually do anything or provide the error for you?

    # /usr/bin/php -q /home/morpheus/public_html/getdata.php?cron=yes

    Does

    www.domain.com/getdata.php?cron=yes actually do what it is intended to do?

    What isn't working, do you get an error from when the cron job runs?

    Add the email address into the cron job file, to send the resut to you - In cpanel or directly into the cron file via (add this to the top of the file)

    # crontab -e -u $user

    MAILTO="you@domain.com"

  3. #3
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Quote Originally Posted by Bigzed
    Don't move the Thread in the Cpanel Beginners Forum - nobody in there helps.

    Thank you,
    Bigzed.
    No offence, but you did/were getting help in that thread.

    And on that note, when a thread is moved it is done for a reason, please do not open a second one as from this point on they will be closed if done so.

    Also note clients of hosting companies having questions should be using their provider for support as it is the hosting companies responsibility to supply support to their clients.
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. /usr/bin/lynx CronJobs not working?
    By Speedy059 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-26-2009, 06:11 AM
  2. CronJobs
    By Xikeon in forum New User Questions
    Replies: 2
    Last Post: 09-29-2006, 10:32 AM
  3. Cronjobs
    By xynta in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-13-2005, 07:41 AM
  4. Cronjobs
    By welby in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-20-2005, 12:23 PM
  5. If you allow cronjobs
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-18-2003, 07:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube