site can not be loaded

Status
Not open for further replies.

radiobea

New Member
Messages
14
Reaction score
0
Points
1
Is absolut server running prefect or its only me facing different types of error site ( http://dradiobeats.com/ ) can't be loaded, data base error, if site loads take too much time and cron job is i think common issue can some one explain in simple language how to use cron jobs and what are the limits which we should not cross in any case.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
free-hosting server [ Absolut ] has issues from about 06:30 2014-02-17 UTC
###

You can NOT have a Cron job execution (starting) for less-than five (5) minutes with free hosting accounts
Cron jobs may not request external content - and you can have only one (1) Cron job execution per five (5) minutes with free-hosting accounts
###

This Cron job will make a 'output' log file in your public_html folder and assumes you PHP script is in you public_html folder
to test - set the 'time' for every six (6) minutes - I suggest setting it to run no more frequently than you will actually need - after the test
Code:
Minute -- */6
Hour ---- *
Day ----- *
Month --- *
Weekday --*

replace {your cPanel name} and {your PHP file name} with yours - without the "{" "}" - do not add any spaces

cron command:
/usr/local/bin/php /home/{your cPanel name}/public_html/{your PHP file name} 2>&1 >> /home/{your cPanel name}/public_html/cron_output.log
 
Status
Not open for further replies.
Top