Welcome Guest, Not a member yet? Register   Sign In
Cronjob via HTTP
#9

(05-06-2015, 03:31 PM)CroNiX Wrote: The benefit of using an external service to execute your cronjobs is you don't have to worry about uptime/server problems in case something is wrong with your local machine, or net connection, etc. Some of them are free to use for up to x requests/day, like the one I linked to. Others are more secure as they use an authentication system, which your app can check for.

No, no, I use a external host, so I don't think there are issues. I also think, if the server has problems with the connection, the cronjob should not be executed.
But I get the point what you're trying to say.

On the other hand a auth system to validate the request would be kinda cool..


(05-06-2015, 03:31 PM)CroNiX Wrote: You can also set a custom HTTP header that gets sent with the request from your server and check for it in the controller.

You mean executing a script in a folder, which sends a http request?

I first thought of executing a script in a secure folder, which uses curl to execute the url.
-.-.-.-.-.-.-.-.- Angel -.-.-.-.-.-.-.-.-
Reply


Messages In This Thread
Cronjob via HTTP - by Urastor - 05-06-2015, 10:01 AM
RE: Cronjob via HTTP - by ivantcholakov - 05-06-2015, 11:24 AM
RE: Cronjob via HTTP - by Urastor - 05-06-2015, 11:53 AM
RE: Cronjob via HTTP - by CroNiX - 05-06-2015, 02:38 PM
RE: Cronjob via HTTP - by silentium - 05-06-2015, 02:42 PM
RE: Cronjob via HTTP - by CroNiX - 05-06-2015, 02:44 PM
RE: Cronjob via HTTP - by Urastor - 05-06-2015, 03:13 PM
RE: Cronjob via HTTP - by CroNiX - 05-06-2015, 03:31 PM
RE: Cronjob via HTTP - by Urastor - 05-06-2015, 03:51 PM
RE: Cronjob via HTTP - by Lolivaress - 05-06-2015, 07:42 PM
RE: Cronjob via HTTP - by Lolivaress - 05-07-2015, 11:05 AM
RE: Cronjob via HTTP - by Nash - 05-11-2015, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB