Ext Cron command question

Jamie Whittingham

Active Member
hi guys,

I can run a daily cron with the following

$hooks->addAction('console_command_daily', array($this, '_runSync'), 2000);

but how would I run that cron ever minute? i tried console_command_miniute but that didnt work.

thanks in advance.


Staff member
You can use console_command_send_campaigns_before_process or console_command_send_campaigns_after_process

Jamie Whittingham

Active Member
so that runs every minute (as my cron runs every minute)

If I have 20 cron jobs for console.php send campaign ... does that mean it will run my ext cron 20 times?