When creating a cron job with cron add, the --agent flag is optional. If not specified, the job runs with the default agent (main), which can cause confusion.
Problem:
- A cron job related to a specific agent was executed by the wrong agent
- The delivery channel is separate from which agent executes the task
- Without explicitly specifying --agent, there is no way to know which agent will run the task
Suggested fix:
- Make --agent required when creating cron jobs, OR
- Show a warning when --agent is not specified
This would prevent accidental execution by the wrong agent.
When creating a cron job with cron add, the --agent flag is optional. If not specified, the job runs with the default agent (main), which can cause confusion.
Problem:
Suggested fix:
This would prevent accidental execution by the wrong agent.