Cron Jobs

taha116

Member
Messages
505
Reaction score
0
Points
16
PHP:
X-Powered-By: PHP/5.2.6
Set-Cookie: PHPSESSID=28c7dd090e6658eaafb8ad3b954f5b69; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html

Im getting this message in my e-mail, should i be getting this?

Im running this code

PHP:
php-cron /home/excel123/public_html/Game/cron.php

Am i doing someting wrong?

(This is for my other forums account)
 
Last edited:

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
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.
 

taha116

Member
Messages
505
Reaction score
0
Points
16
The mail is ok but i just wanted to know if that means my script is running
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
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)
 
Top