Cron Jobs on Stoli Server not Working

Status
Not open for further replies.

greeffq

New Member
Messages
25
Reaction score
1
Points
0
I created the following cron job:
Code:
*/5     *     *     *     *     /home/greeffq/public_html/sendmail.php
It doesn't seem to work and I don't get an email conformation.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hi,
How many times have you tried it? There are known issues with hotmail accounts, and potentially gmail. If you've been sending to one of those types of account, you may want to try sending to another provider.
If it still doesn't work someone will investigate further.
Also, if you exceed 100 messages in an hour, and following are blocked from being sent.

-stpvoice.
 

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
no, you actually need to tell the cron you want to execute that file with php...
Code:
*/5     *     *     *     *    /usr/bin/php /home/greeffq/public_html/sendmail.php
 

greeffq

New Member
Messages
25
Reaction score
1
Points
0
Hi Anna
Thank you for the feedback.
I changed the command and it works! Now that I look at it, it makes more sense.
 
Status
Not open for further replies.
Top