Does Crobjobs supported on Free Hosting?

Status
Not open for further replies.

jpgsystem92

New Member
Messages
4
Reaction score
0
Points
0
Hello!

I've setup a cronjob on my free website, and when I logged in it has been deleted.
I didn't know the path to your php, so I setup 3 of the cronjob that will hopefully work.

But none of them did, i would like to get to php and call on a command,
to do this I need the path of your php.

Please help me...

Need full path to your php. like: usr/bin/php, don't know what to put in yours.

Thanks!
JP
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Hello,

The full path to php is /usr/bin/php, how often are you setting the cron jobs to run?
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
Hello,

Have you been able to get the cron running?
 

jpgsystem92

New Member
Messages
4
Reaction score
0
Points
0
nope! cron job didn't work at all, cause no email notices arrived on the email that I've set it would send the cron notice.

the cronjob I have set for every 5 mins. is:
/usr/bin/php /home/aninoboy/ares/sendmails.php > /dev/null

Please tell me whats wrong with this code,
I'm using php to call on sendmails.php on my directory

The cronjob is deleted once again when I logged back the next day.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You should use a command line like this. It will log any output, error messages, etc.

Code:
/usr/bin/php /home/igor/public_html/cronjob.php >> /home/igor/public_html/cronlog.txt 2>&1

The system email notifying you that a cron job has run is disabled.

If you are talking about sending an email from within the cron job, that is not disabled and should work.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Hello,

All of the cron syntax has been outputting to your home directory, if you look you have over 200 sendmail.php.xxx's showing the output. The problem I see you having is that it was removing the crontabs because you had them running in too fast of intervals.
 
Status
Not open for further replies.
Top