Cron issues

Status
Not open for further replies.

cartermcpyro

New Member
Messages
14
Reaction score
0
Points
0
Cron job is not working for me. I am on Stoli.

I set it up to send me an email and I never get one.

Here is my set up:
Code:
/usr/bin/php -q /home/<myname>/public_html/cgi-bin/expire.php

Can anyone give a helping hand?
 

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
Cron job is not working for me. I am on Stoli.

I set it up to send me an email and I never get one.

Here is my set up:
Code:
/usr/bin/php -q /home/<myname>/public_html/cgi-bin/expire.php

Can anyone give a helping hand?

Hi cartermcpyro,

Try changing your command line to:

php -q /home/pyrokid/public_html/cgi-bin/expire.php

If that still does not work, please copy and paste all error messages you receive into a new response to this ticket.

- Adam
 
Last edited:

cartermcpyro

New Member
Messages
14
Reaction score
0
Points
0
Hi cartermcpyro,

Try changing your command line to:

php -q /home/pyrokid/public_html/cgi-bin/expire.php

If that still does not work, please copy and paste all error messages you receive into a new response to this ticket.

- Adam

I have tried that. No dice, and still no emails. Also, I don't get any error messages.
 
Last edited:

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
As far as I know, "-q" disables the e-mail sending. I think I also saw a moderator recently saying that you need to put "cron-php" instead of "php". My cron used to work fine and suddenly it stopped, I changed that and I have yet to see if the issue is fixed.
 

cartermcpyro

New Member
Messages
14
Reaction score
0
Points
0
I finally got an email today. To confirm for everyone else with this issue, either of the following two command lines will work:

Code:
/usr/bin/php /home/<your_name>/public_html/path/to/script.php
Code:
php /home/<your_name>/public_html/path/to/script.php
 
Status
Not open for further replies.
Top