D
OK, would a 5min cron be ok or would it need to be 1 min for server based trigger?Server based trigger is what it is referring to. Additional setup is required to set up the server based cron. If you can’t use that then you’ll have to continue using the activity based trigger.
And it's SO much easier to be able to simply have it call the script needed itself. Yes, there are ways that people that are familiar with writing a script and such can do... but it's also MUCH easier to use the external service to do such. And yes, IPS offers all 3 options for this very reason (ease of use).You can (sort of) use an "external cron service" - just make it calljobs.php
via HTTP.
but by the same token you can call the actual PHP file via the CRON service and you don't have to do anything more than link to it (as it already exists) in the remote service. Not everyone has the ease of being able to write a PHP script, nor do all services allow 1 minute calls to a site to show "activity".If you send a HTTP request via one of these services once per minute, it will count as activity and trigger the cron jobs to run…
Hmm, I am not quite sure what you are trying to explain.And it's SO much easier to be able to simply have it call the script needed itself. Yes, there are ways that people that are familiar with writing a script and such can do... but it's also MUCH easier to use the external service to do such. [...] Of course, a submitted suggestion for the ability
php cmd.php xf:run-jobs
from CLI runs a pending job (if there is one) - calling https://forum.tld/job.php
does the same and this can (of course) be done via an external service.And so did I when I ran IPS.I use Easy Cron to do the necessary - check it out.
Online Cron Service | Webcron - EasyCron.com
EasyCron provides the most stable online cron service. Here you can schedule cron jobs that run periodically, with execution logs, email notifications, webhooks, execution time predictions and a bunch of other features.easycron.com
My point is... you get an instruction when you select server... give the SAME option/data for selecting an outside service. There are NO instructions on that in the ACP. You get TWO options. I spent a 2 day period back and forth with a new admin that was not technically savvy enough to understand what was was needed... IF that was an option in the ACP with instructions on how to implement it, he would not have had that issue.Hmm, I am not quite sure what you are trying to explain.
Callingphp cmd.php xf:run-jobs
from CLI runs a pending job (if there is one) - callinghttps://forum.tld/job.php
does the same and this can (of course) be done via an external service.
So what exact new functionality do you ask for?
Got it But this is MHO more of a documentation issue than a missing feature.My point is... you get an instruction when you select server... [..] Not EVERYBODY has years of Linux or server admin experience, and some simply can deal only with what a panel tells them to do.
should be sufficient?The activity based trigger can be explicitly activated by making HTTP requests tohttps://domain.tld/jobs.php
.
This can be useful if there is not enough activity on the site to trigger jobs on time and using the Server based trigger is not possible.
If you can run jobs via server cron this should still work, just setup a job to runI can't use the Server Based Trigger as my host won't go lower than 5mins on the cron jobs.
php cmd.php xf:run-jobs --wait --max-execution-time=250
every 5 minutes.Yes, but exactly HOW many will actually read all that "little stuff". If one had an option, with similar basic instructions, it would be "easier" to find, as you and I both know, reading the small print is rarely done by some, they look for the little "block" to check that instructs them how.Got it But this is MHO more of a documentation issue than a missing feature.
We use essential cookies to make this site work, and optional cookies to enhance your experience.