+ Reply to Thread
Results 1 to 4 of 4

Thread: Cron Jobs

  1. #1
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Cron Jobs

    PHP Code:
    X-Powered-ByPHP/5.2.6
    Set
    -CookiePHPSESSID=28c7dd090e6658eaafb8ad3b954f5b69path=/
    ExpiresThu19 Nov 1981 08:52:00 GMT
    Cache
    -Controlno-storeno-cachemust-revalidatepost-check=0pre-check=0
    Pragma
    no-cache
    Content
    -typetext/html 
    Im getting this message in my e-mail, should i be getting this?

    Im running this code

    PHP Code:
    php-cron /home/excel123/public_html/Game/cron.php 
    Am i doing someting wrong?

    (This is for my other forums account)
    Last edited by taha116; 06-01-2009 at 07:31 PM. Reason: forgot inmportant info


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  2. #2
    Salvatos's Avatar
    Salvatos is offline x10 Lieutenant Salvatos is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    Québec, Canada
    Posts
    271

    Re: Cron Jobs

    Adding "-q" (php-cron -q /home/excel123/public_html/Game/cron.php) should prevent the e-mail from being sent, if I am not mistaken.

  3. #3
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Cron Jobs

    The mail is ok but i just wanted to know if that means my script is running


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  4. #4
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: Cron Jobs

    Quote Originally Posted by taha116 View Post
    The mail is ok but i just wanted to know if that means my script is running
    Yes; that's the script "output" as it were, it's basically giving debug information.

    If you were to do an echo or a print anywhere in the php document, you'd start getting that in your email as well (handy if you wanted it give some debug like how long it's taking to do the action)


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

+ Reply to Thread

Similar Threads

  1. CRON Jobs and PHP
    By deadimp in forum Tutorials
    Replies: 14
    Last Post: 11-27-2008, 05:09 PM
  2. Cron Jobs?
    By HackerzInc in forum Free Hosting
    Replies: 3
    Last Post: 10-17-2008, 03:29 AM
  3. Cron Jobs
    By HackerzInc in forum Free Hosting
    Replies: 1
    Last Post: 10-01-2008, 10:06 PM
  4. Cron Tutorial (Crontab Tutorial)
    By sunils in forum Tutorials
    Replies: 3
    Last Post: 06-14-2008, 10:34 PM
  5. cron jobs help
    By TarinC in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 09-19-2006, 03:45 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