Loving the resumable job functionality in XF2 - especially the ability to have a job "sleep" for a while by setting the continueDate.
Would be even more fun to use if we had a function in XF\Job\AbstractJob called something like resumeLater(), for example:
In my code I create a new job with this code:
\XF::app()->jobManager()->enqueueUnique('solvedAlerting_' . time(), 'QuestionThreads:Alerter', $jobParams);
How can I stop the job by it's key programmatically?
I know that all currently running jobs are stored in xf_job table. And deleding records...
Where can I find all running jobs (jobs that extends AbstractJob). How to correctly stop jobs that are already running?
Where can I see messages sent using getStatusMessage() method?
Maybe some console commands? Something like php cmd.php xf-showjobs...?
I am trying to send emails to all thread watchers. Many hosts have restrictions on amount of emails sent per minute/hour.
@Mike advised me to use jobs system to avoid timeouts.
I am absolutely new to jobs topic and have not found any tutorials but I did understand something.
As I understand...
I own a very large gaming forum that is currently running IPB 3 however it keeps getting hacked probably because of the crazy amount of add-ons running.
I need someone that has experience with xenFono to help with the following;
Complete transfer from IPB 3x
Looking for someone to with the ability to code and change the display of my Featured Events.
Currently, as you feature them, the first one you feature ends up being last. Every event I add is going to be featured, so I need them to be sorted to display Earliest to Latest, not...
I need for an addon to create buttons that only admins can use (with configurable permissions). The buttons should be configurable per-forum, for exemple I setup an "Accept" button only available in the "Recruitement" forum, it appears in every thread, when I press it it lock the thread, it...