-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Job scheduling #3927
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
Job scheduling #3927
Conversation
1fdfb0e
to
f23f3f1
Compare
Codecov Report
@@ Coverage Diff @@
## master #3927 +/- ##
==========================================
+ Coverage 90.3% 90.41% +0.11%
==========================================
Files 114 114
Lines 7641 7669 +28
==========================================
+ Hits 6900 6934 +34
+ Misses 741 735 -6
Continue to review full report at Codecov.
|
17fc4c7
to
41ceb83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super nice.
Is there any documentation on how to implement this? I cannot find it on cloud code docs |
This should get you started
https://medium.com/@AGordeev/how-to-get-parse-background-job-functionality-on-parse-server-6bb86f210d09
Daniel
… 7. jul. 2017 kl. 11:17 skrev Tej Pratap Sngh ***@***.***>:
Is there any documentation on how to implement this? I cannot find it on cloud code docs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@tejpratap46 i’ve implemented a runner that fetches the scheduled jobs in the dashboard and runs them on a timely manner. The runner should be run every minutes or so in order to check if jobs have to be running. |
You can find it at https://github.com/ampme/Parse-server-job-runner |
Hello @flovilmart! Thanks for the link to your jobs scheduler. Could you explain a bit more how to use it? Does it need anything else? like a service/cron job/kue to work? And do you recommend to install it on a different server than the parse one? |
Yes, you’re completely right, you need to schedule it and run it every minute for example. You can run it anywhere as it uses the HTTP api to communicate with Parse-server |
Great, I need it!! |
Awesome. Is it an idea to ship this defaultJobRunner.js with the default That will run scheduled jobs out of the box using the
|
I'm working on a JobScheduling worker (driven by a minute cron job on k8s) and I'd like to get back the original API's in. There is also a PR on the dashboard that restores the creation/update/delete of the _JobSchedule objects.
The _JobSchedule's Schema match the original parse.com api, so all original jobs should be editable.
TODO: