Skip to content

Add handleCronBackup to centralize all cron logic#3

Open
Casperjuel wants to merge 1 commit intomainfrom
feat/centralize-cron-handler
Open

Add handleCronBackup to centralize all cron logic#3
Casperjuel wants to merge 1 commit intomainfrom
feat/centralize-cron-handler

Conversation

@Casperjuel
Copy link
Copy Markdown
Member

Summary

  • New handleCronBackup() function contains all backup scheduling logic
  • Template/deployed services just call this function
  • All fixes (duplicate prevention, retention) are now in the npm package
  • Users get fixes automatically on redeploy

Already published as @casperjuel/datocms-backup-api@1.0.8

All backup logic is now in the @casperjuel/datocms-backup-api package.
The template just calls handleCronBackup() for easier maintenance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant