The following declaration causes the block of code to run at startup: `every(5.minutes, 'MyTask.scheduled_task', skip_first_run: true) { MyTask.delay.scheduled_task }` Happy to provide any additional information that is of use.
The following declaration causes the block of code to run at startup:
every(5.minutes, 'MyTask.scheduled_task', skip_first_run: true) { MyTask.delay.scheduled_task }Happy to provide any additional information that is of use.