Join Slack
Powered by
hi guy how to write a resolver that schedule actio...
# orm-help
v
victory1908
05/31/2019, 2:29 PM
hi guy how to write a resolver that schedule action at specific timing? (time set by post body)
h
Harshit
05/31/2019, 3:10 PM
I think you can use a cron queue for this. Try using this package:
https://www.npmjs.com/package/node-cron
v
victory1908
05/31/2019, 3:18 PM
thanks but this will run cron (every period of time). would like to run once only at specific time
h
Harshit
05/31/2019, 3:19 PM
Then you can use a job queue like bull:
https://github.com/OptimalBits/bull
v
victory1908
05/31/2019, 3:24 PM
thanks looking into it but seem no specific time schedule
j
Jared
05/31/2019, 3:27 PM
this might be some inspriration:
https://devcenter.heroku.com/articles/scheduled-jobs-custom-clock-processes
3
Views
Open in Slack
Previous
Next