appsmith
appsmith copied to clipboard
[Bug]: Cron Expression for Automated Backups Not Working
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
- Set the environment variable
APPSMITH_BACKUP_CRON_EXPRESSION="0 12 * * SAT"
in thedocker.env
file. - Restart Appsmith.
- Note that the backup starts every day at midnight.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
self-hosted