edit info
This commit is contained in:
parent
1d15b08757
commit
3ea0103569
@ -11,7 +11,7 @@
|
|||||||
- The script sets the source directory (SOURCE_DIR) that will be zipped and the archive directory (ARCHIVE_DIR) where the zipped files will be stored.
|
- The script sets the source directory (SOURCE_DIR) that will be zipped and the archive directory (ARCHIVE_DIR) where the zipped files will be stored.
|
||||||
- It creates a timestamp in the format YYYY-MM-DD and stores it in the DATE variable.
|
- It creates a timestamp in the format YYYY-MM-DD and stores it in the DATE variable.
|
||||||
- The zip command is used to create the zipped archive and append the date to the file name.
|
- The zip command is used to create the zipped archive and append the date to the file name.
|
||||||
- The find command is used to delete files older than 14 days in the archive directory.
|
- The find command is used to delete files older than 14 days in the archive directory. (edit in the script as needed)
|
||||||
- The cron entry schedules the script to run daily at 13:00 (1 PM).
|
- The cron entry schedules the script to run daily at 13:00 (1 PM).
|
||||||
|
|
||||||
Install git and zip
|
Install git and zip
|
||||||
|
Loading…
Reference in New Issue
Block a user