+ Reply to Thread
Results 1 to 7 of 7

Thread: Cron Jobs

  1. #1
    ehiagwina is offline x10Hosting Member ehiagwina is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    63

    Cron Jobs

    They work manually but not through the cpanel any reason why

  2. #2
    t2t2t's Avatar
    t2t2t is offline x10 Elder t2t2t is an unknown quantity at this point
    Join Date
    Sep 2006
    Location
    Europe, Estonia
    Posts
    690

    Re: Cron Jobs

    Cron needs for php scripts the "run through php" included

    Quote Originally Posted by Corey View Post
    Try using php -q without the path.

    ex:
    php -q /home/corey/public_html/myscript.php
    [Search is your friend]

    (Is anyone up for making giant list for how to do x things using search for archive?)
    This post has been marked spam 52 times.


  3. #3
    ehiagwina is offline x10Hosting Member ehiagwina is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    63

    Re: Cron Jobs

    i did still dont work

  4. #4
    t2t2t's Avatar
    t2t2t is offline x10 Elder t2t2t is an unknown quantity at this point
    Join Date
    Sep 2006
    Location
    Europe, Estonia
    Posts
    690

    Re: Cron Jobs

    Quote Originally Posted by ehiagwina View Post
    i did still dont work
    Did you change corey to your cpanel name and myscript.php to location of script?

    Also in Please enter an email address where the cron output will be sent: enter your e-mail to check that it's ran. Also time your cron run to when server clock gets to x time (Server's timezone is GMT
    -05:00).
    This post has been marked spam 52 times.


  5. #5
    ehiagwina is offline x10Hosting Member ehiagwina is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    63

    Re: Cron Jobs

    well i aint wirking

    do i have to be a user named corey cor cron jobs to work
    Edit:
    curl http://seriouswars.pcriot.com/crons/...raveupdate.php

    any idea what i am doing wrong
    Last edited by ehiagwina; 09-08-2007 at 08:13 AM. Reason: Automerged Doublepost

  6. #6
    t2t2t's Avatar
    t2t2t is offline x10 Elder t2t2t is an unknown quantity at this point
    Join Date
    Sep 2006
    Location
    Europe, Estonia
    Posts
    690

    Re: Cron Jobs

    did you get an email at all? (Like i said above enter your e-mail above to test)
    This post has been marked spam 52 times.


  7. #7
    deadimp is offline x10 Sophmore deadimp is an unknown quantity at this point
    Join Date
    Jun 2007
    Posts
    249

    Re: Cron Jobs

    For the url you've posted, the command would be:
    php -q /home/ehiagwina/public_html/crons/are/not/4u/braveupdate.php
    However, I'd suggeset that you put it in something other than your public_html folder, like /etc, so that people can't trigger the job by just visiting the page.
    And like t2t2 said, make sure that your email is entered, and you check it. To test the CRON job out, set it for 5 minutes. Be sure you change it after you've received the first one, though!

    Link to the post referenced by t2t2
    Last edited by deadimp; 09-09-2007 at 02:23 AM.
    deadimp.org
    > Thacmus [v0.3.0] - Open source CMS, PHP 5, MySQL

    "¡Ya lo sabo!" - Lo Ausente

+ Reply to Thread

Similar Threads

  1. Cron Jobs
    By stuffradio in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 11-12-2007, 07:01 PM
  2. Cron Jobs
    By esnola in forum Soporte
    Replies: 2
    Last Post: 08-13-2007, 01:53 PM
  3. cron jobs help
    By TarinC in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 09-19-2006, 03:45 PM
  4. cron jobs....
    By swirly in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 05-22-2006, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers