appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Cron Expression for Automated Backups Not Working

Open ame-appsmith opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

A user has set up this environment variable: APPSMITH_BACKUP_CRON_EXPRESSION="0 12 * * SAT" . However, the backup is running every day and not as expected only on Saturdays. Appsmith backup starts every day at 0 midnight. Even when trying to change it to APPSMITH_BACKUP_CRON_EXPRESSION="0 22 * * 1 (1 for Monday), the behavior is the same. Moreover, the expression of APPSMITH_BACKUP_CRON_EXPRESSION=disable did not help either. The appsmith backup still runs every day.

Steps To Reproduce

  1. Set the environment variable APPSMITH_BACKUP_CRON_EXPRESSION="0 12 * * SAT" in the docker.env file.
  2. Restart Appsmith.
  3. Note that the backup starts every day at midnight.

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

self-hosted

Front logo Front conversations

ame-appsmith avatar Feb 13 '24 08:02 ame-appsmith