Skip to content

CRON Job on Render Server #125

Description

@s2t2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions