Trigger cron jobs via API or CLI?

Hi there!

Is there any way to trigger a one-off run of a cron job using either the public API or the render CLI tool? This functionality is available via the dashboard but we’d really appreciate the ability to add this call to an internal development tool.

Thank you!
-Isaac

Hi Isaac,

We don’t have specific triggers for cron jobs to be initiated via the API or CLI. However, you may want to look into one off jobs: https://render.com/docs/jobs which can be triggered via the API. You can trigger a job on an existing service, like a cron job, and use the same command that you would to initiate it.

Let me know if that helps address your needs here.

Best,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.