OTcreator
Active Member
- Joined
- Feb 14, 2022
- Messages
- 425
- Solutions
- 1
- Reaction score
- 44
Hi!
I need a simple code for Linux 20.04 that on a running screen will open while true; do ./tfs; done
will save the console with the date in the var/www/tfs_old/logs folder, and make a copy of the database automatically, e.g. every 2 hours (if that's not possible then copy the database once a day) on var/www/tfs_old/mysql folder.
I need a simple code for Linux 20.04 that on a running screen will open while true; do ./tfs; done
will save the console with the date in the var/www/tfs_old/logs folder, and make a copy of the database automatically, e.g. every 2 hours (if that's not possible then copy the database once a day) on var/www/tfs_old/mysql folder.