Testing tasks
kscript schedule run --task name runs one task straight away, whatever its time. To check what a job task would dispatch, call its job's ->run() in a test, or dispatch it with @fake_queue() in place.
kscript schedule run --task name runs one task straight away, whatever its time. To check what a job task would dispatch, call its job's ->run() in a test, or dispatch it with @fake_queue() in place.