Changing the trigger_date for a job

Status
This content is read-only, or is not open for further replies.

Taylor J

Guest
offline
I am wanting to allow users to be able to change the date for their scheduled blog posts if they edit one before the current trigger_date assigned to the job/before it's state becomes visible.

I was able to get the job and it's details with:

PHP:

Code:
        $app = \XF::app();
        $job = $app->jobManager()->getUniqueJob('taylorjblogs_scheduledpost_115_1724429774');

But I can't find any methods/functions on that to change anything, mainly the trigger_date.

Would I just go about it like...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom