Problem/Motivation

It would be nice to be able to manually execute a scheduled task, for testing, for example: testing scheduled dunning actions created via Commerce Dunning.

Proposed resolution

Add the ability to manually run scheduled tasks and subsequently remove the manually run task.

Remaining tasks

Tests if this is something anyone else wants.

User interface changes

None. The capability is hidden as a menu callback. One can use it like the delete link in the current Schedule view.

API changes

Menu Callback %task/manualrun introduced which takes a task id, loads, executes and finally deletes the task.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gladiatorhl2’s picture

Hello. It seems that after running a cron job and clearing caches, this feature automatically disappears and it cannot be reanimated. What could be done to fix this issue? Thanks in advance.

TR’s picture

This is mostly a duplicate of #2260529: Manual execution of scheduled rule. That issue and this one need to be combined to come up with one unified patch.

TR’s picture

Marked #1490158: Execute rules items immediately as a duplicate.

Added #1496256: Overview page: Interlinked Design as a related issue, since it has a mockup of how the UI might look incorporating this feature.

TR’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev

At this point, new features should be going into 8.x-3.x first, then be backported to D7 if there is sufficient community interest.