WebInternal refactor of cron by wokalski · Pull Request #250 · graphile/worker · GitHub Description This was performed to prepare for proper implementation of #218. No new functionality was I will rebase #219 on top of this so that the diff for the new feature is smaller. should be none Security impact unknown Checklist WebSep 26, 2024 · CREATE FUNCTION graphile_worker.add_jobs(specs graphile_worker. job_spec [], job_key_preserve_run_at boolean DEFAULT false) RETURNS SETOF …
Add last execution time to _cron payload #217 - github.com
WebGraphile Worker stores tasks into its own schema within PostgreSQL, and offers a simple SQL API to create jobs. Queueing a job might look like: SELECT graphile_worker.add_job('hello', json_build_object('name', 'Bobby Tables')); Tasks are created in JavaScript/TypeScript, so it fits directly into your PostGraphile stack WebAug 27, 2024 · Running cron in a distributed environment · Issue #211 · graphile/worker · GitHub Sponsor Notifications Fork Star 1.2k Pull requests Actions Projects Security Insights New issue Running cron in a distributed environment #211 Closed wokalski opened this issue on Aug 27, 2024 · 3 comments · Fixed by #214 Contributor on Aug 27, 2024 songs for dad to sing at wedding
Fix cron not matching time properly for days of week #213
WebGraphile Worker supports triggering recurring tasks according to a cron-like schedule. This is designed for recurring tasks such as sending a weekly email, running database maintenance tasks every day, performing data roll-ups hourly, downloading external data every 20 minutes, etc. Graphile Worker's crontab support: WebJul 7, 2024 · Feature description. It's possible to set a job's flags property from the addJob() function in Node and from the add_job() function in SQL, but not when it's scheduled using the Cron functionality. Add a way to specify flags for Cron jobs, both in the crontab file and in CronItem.. Motivating example. I'm using forbiddenFlags to control which jobs worker … WebDescription This PR adds a { now?: () => Date } option that accepts an external time source. This can be helpful in tests where you want to artificially expire jobs. For example: If you pass now... songs for days of the week