Skip to content

Make running cron jobs on demand more reliable #26

Open
@bogdanghervan

Description

@bogdanghervan

Sometimes running cron jobs from the interface fails, and it does so in a silent way, still reporting that the job has started.

CronKeep should (better) report that a cron job failed to run and present the user with whatever information it has available (such as the command's output or the return code).

Capturing command output could be tricky to do with the current setup of running the command asynchronously (which is either scheduling it to run immediately using at, or via proc_open otherwise). CronKeep currently passes on the intricacies of invoking the process to symfony/Process, which uses proc_open internally.

We should strive to keep it running separately from Apache, if possible, which is what at currently does for us.

A nice to have: have output coming up on the screen as the process is being executed (TBD).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions