question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Cron

See original GitHub issue

Would love something built in for cron jobs. Right now, I might be able to hack something together by creating a function in the functions directory (which is mapped to a URI), and finding some other means to call that uri on a schedule.

However, I feel like this would be perfect for a separate cron directory, with accompanying config for a schedule or means to enqueue a job. Of course, this opens a whole can of worms in regards to the infrastructure needed to support this, and the need for workers and queueing, etc.

I totally understand this probably falls below other higher priority tasks like authentication and Typescript, but just thought this would be needed by a multitude of apps down the road. Would be happy to help here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
cannikincommented, Mar 16, 2020

Yeah we definitely see a need for a product like this and may be working on something to fill it. 👀 If/when that product is available you can be sure that Redwood will have something like ActiveJob for integrating with it.

If you need something immediately check out https://www.easycron.com/ If you make a custom function like api/src/functions/custom.js and deploy to Netlify it will be available at /.netlify/functions/custom and can be called from the internet at large. You can setup a one-time call to that function or a recurring job on easycron and be good to go.

3reactions
sw-yxcommented, Mar 25, 2020

just leaving this for future people who search - you can add cronjobs in github actions - https://www.swyx.io/writing/github-scraping/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Forum - Feature Request - VisualCron
IP Port Checker - I'd like to request the ability to not only ping an IP address, ... We do this using a...
Read more >
Feature request: Show cron job summary for all backups
Hi! I'd like to see a view where I can see the upcoming backup jobs for all jobs combined. Currently It is only...
Read more >
Cron: How-to and Feature Request - RedwoodJS Community
If you make a custom function like api/src/functions/custom.js and deploy to Netlify, it will be available at /.netlify/functions/custom and can ...
Read more >
This is a feature request to take a cron expression ... - GitHub
This is a feature request to take a cron expression and Humanize it. Expression Means 0 0 12 * * ? Fire at...
Read more >
Cron feature request | cPanel Forums
To all cpanel developer staffs, Please kindly consider to build cron feature which allow the server owner set: 1. The maximum crontab schedule...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found