Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script to delete device status entries that are older than 2 mo…
…nths. (#1232) * Add a script to delete device status entries that are older than 2 months. Signed-off-by: Tzachi Dar <[email protected]> * Fixes to delete old device status: 1) Create a local backup of the data. 2) Add number of days to delete as a parameter. 3) Add a nightly mode (parameters are given as enviorment variables). * Write the backedup records in one line. * New implmentation: Delete all entries in one command. * Fix enviorment variable for nightly mode.
- Loading branch information