Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRON Job on Render Server #125

Open
s2t2 opened this issue Dec 5, 2024 · 0 comments
Open

CRON Job on Render Server #125

s2t2 opened this issue Dec 5, 2024 · 0 comments

Comments

@s2t2
Copy link
Member

s2t2 commented Dec 5, 2024

Students have asked how to run a CRON job on Render.

Select CRON Job server type:

Screenshot 2024-12-05 at 12 27 02 PM

Specify the CRON interval, and the script to be run (for example send email every 5 mins). Choose instance type (no free servers available unfortunately):

Screenshot 2024-12-05 at 12 29 29 PM

FYI CRON for every night at 1am would be: 0 1 * * *

Set env vars
Screenshot 2024-12-05 at 12 30 22 PM

Then sit back and watch the job run at specified intervals (in this case every 5 minutes). See the logs:

Screenshot 2024-12-05 at 12 41 54 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant