jpsoft Posted November 3, 2017 Posted November 3, 2017 Hi. I'm new here. I'm trying load json data every 5 min to my DB. You can see my cron link here: jpsoft.heliohost.org/load-cron.php Can you help me ?
qsgt Posted November 4, 2017 Posted November 4, 2017 I'm trying load json data every 5 min to my DB. Hi jpsoft, HelioHost only allows 2 Cron runs every 24 hours per account see this for more information. If you run a Cron job every 5 minutes your account will end up being suspended. There are third party services available which allow for higher run limits such as https://www.easycron.com/ or https://cron-job.org/. qsgt
Krydos Posted November 4, 2017 Posted November 4, 2017 @qsgt, we differentiate between internal cron (which can be created in cpanel), and external cron (which we set up for people). Internal cron is limited to 2 per day just like you said. External cron is basically just like those services you linked, but it's free and you just need to post the url and the frequency you need it to run, and an admin will set it up for you.
Krydos Posted November 4, 2017 Posted November 4, 2017 @jpsoft, now that your domain is no longer queued I set up the external cron to run every 5 minutes for you on the url http://jpsoft.heliohost.org/load-cron.php
jpsoft Posted November 13, 2017 Author Posted November 13, 2017 Hi, can somebody check Why mi cron job URL don't work ?? http://jpsoft.heliohost.org/load-cron.php Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@jpsoft.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Krydos Posted November 13, 2017 Posted November 13, 2017 What about https://johnny.heliohost.org:2083/frontend/paper_lantern/stats/errlog.html ?
jpsoft Posted November 13, 2017 Author Posted November 13, 2017 [Mon Nov 13 12:20:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 12:20:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 12:15:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 12:15:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 12:10:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 12:10:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 12:05:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 12:05:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 12:00:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 12:00:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:58:31 2017] [error] [client 201.208.13.239] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:58:31 2017] [error] [client 201.208.13.239] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:58:30 2017] [error] [client 201.208.13.239] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:58:30 2017] [error] [client 201.208.13.239] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:58:11 2017] [error] [client 201.208.13.239] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:58:11 2017] [error] [client 201.208.13.239] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:50:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:50:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:45:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:45:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:40:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:40:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:35:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:35:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:30:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:30:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:25:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:25:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:20:04 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:20:04 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:15:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:15:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:10:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:10:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:05:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:05:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 11:00:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 11:00:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:55:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:55:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:50:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:50:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:45:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:45:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:40:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:40:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:35:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:35:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:30:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:30:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:25:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:25:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:20:01 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:20:01 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:15:03 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:15:03 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:10:02 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:10:02 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group[Mon Nov 13 10:05:05 2017] [error] [client 64.62.211.133] File does not exist: /home/jpsoft/public_html/500.shtml[Mon Nov 13 10:05:05 2017] [error] [client 64.62.211.133] SoftException in Application.cpp:256: File "/home/jpsoft/public_html/load-cron.php" is writeable by group
Krydos Posted November 13, 2017 Posted November 13, 2017 File "/home/jpsoft/public_html/load-cron.php" is writeable by groupWhat happens when you make that file not writable by group? PHP files need to be 644.
jpsoft Posted November 13, 2017 Author Posted November 13, 2017 I changed the file permission to 644. And that solved. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now