🚀 Enhancement: Introduced a function to seamlessly update the startAfter date of a job.
🔍 Why? Avoids using raw SQL or the inefficient method of deleting and recreating jobs if a job is to have a rescheduled startAfter date.
🛠 How? Accepts job ID and a valid new date, updating the startAfter field.
✅ Extras: Tests written and README updated.
🚀 Enhancement: Introduced a function to seamlessly update the startAfter date of a job. 🔍 Why? Avoids using raw SQL or the inefficient method of deleting and recreating jobs if a job is to have a rescheduled startAfter date. 🛠 How? Accepts job ID and a valid new date, updating the startAfter field. ✅ Extras: Tests written and README updated.
Related: https://github.com/timgit/pg-boss/discussions/398