Open ieugen opened 1 year ago
To clarify (if needed), I am suggesting users could exec into the swarm-cronjob container and run the cli from there.
Another idea is to use a swarm-cronjob cli that can talk with a swarm-cronjob API ?! This would be better than the exec option since docker exec does not work in swarm - you need to connect to the node first.
Description
Hi,
I think it would be very useful to have the ability to trigger a job via
swarm-cronjob
cli. This should be useful for manual triggering of jobs for testing the job will work properly.I think a cli like would do the trick
where
job-name
is the name of the service implementing the job.