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

(This post was last modified: 05-06-2015, 12:31 PM by Urastor.)

(05-06-2015, 11:24 AM)ivantcholakov Wrote: You have to keep in mind two issues:

1. How long the script runs? One minute or two?
2. Have you got an administration panel? Then if it is not CLI, the script can initialize the session and to check whether an administrator has been logged in. On some page within the administrator panel you can place a link to this task.

1. The script itself only checks, if a date reaches the current day and resets it if needed.. so probably a few ms. I first thought I could do this on every page load, but I think this is kind of silly, because when it has run onces, it won't change anything until the next day.

2. Yep, I do, but I can only include a url or a path to a script, which will be executed. I poorly can change or add anything.^^ The only thing I can add is the interval and the path. I also can add a HTTP user and a HTTP password. But doesn't this mean I need to include a htaccess just for this file?
-.-.-.-.-.-.-.-.- 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