Drone: Manually Triggering a Cron Job

Created on 8 Aug 2019  路  2Comments  路  Source: drone/drone

Currently the cron-api does not allow to manually trigger a cron job.

Screen Shot 2019-08-08 at 10 42 42 AM

As suggested by @bradrydzewski :

something like POST /api/repos/{namespace}/{name}/crons/{cron}/run

If time permits, a button to trigger on the UI would be great as well :)

Thanks and keep doing great work!

Most helpful comment

@bradrydzewski would it be possible to add a button on the UI to do this? It seems generally useful, and it's often inconvenient to set up API access for simple actions.

All 2 comments

the following endpoint was added in b950e28dd3c6f097a4503f6f9b90b805b728fc6a

POST /api/repos/:namespace/:name/cron/:cron

@bradrydzewski would it be possible to add a button on the UI to do this? It seems generally useful, and it's often inconvenient to set up API access for simple actions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

josmo picture josmo  路  5Comments

xoxys picture xoxys  路  4Comments

bradrydzewski picture bradrydzewski  路  4Comments

josmo picture josmo  路  6Comments

bradrydzewski picture bradrydzewski  路  6Comments