Skip to content
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

Conversation

@alias-mac
Copy link
Member

We have issues around 7.x version that needs discussion

Also, I think the new command options/arguments are better.

Support cron command like we had on version 1.0.

$ insulin help cron-run
Run system cron jobs.
Examples:
 insulin cron-run Runs all active jobs who are able to be executed according to their last 
run time.
 insulin cron-run --force Runs all jobs without checking last run time.
 insulin cron-run --jobs=1,2,3 Runs cron for job with Ids 1, 2 and 3.
Options:
 --jobs A comma delimited list of job ids.
 --force Force jobs to run without checking last run time.

@alias-mac
Copy link
Member Author

We should add documentation about this document using the template (https://github.com/insulin/cli/wiki/Command-Specification-Template).

@ghost ghost assigned alias-mac Dec 12, 2013
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.96%) when pulling 28298c9 on alias-mac:ticket-50 into 5715b6c on insulin:master.

$jobIds = $input->getArgument('jobId');

require_once 'modules/Schedulers/Scheduler.php';
$s = new \Scheduler();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not doing BeanFactory::getBean('Schedulers'); instead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants