this an autoscript to delete logs + create a backup + send it over gmail
youn need to change your password mysql in script, also you email sennder + receiver
you need also to give permissionns to the email sender from gmail security options ...
dont forget to install 7zip and tar tools
to download the script + upload to root folder and give it 755 + change your zip password because i compressed at maximum the file to send it over gmail that permit max 25 mb in attachments
and add this cron every 8 hours or what you want, crontab -e and add it
have fun
youn need to change your password mysql in script, also you email sennder + receiver
you need also to give permissionns to the email sender from gmail security options ...
dont forget to install 7zip and tar tools
to download the script + upload to root folder and give it 755 + change your zip password because i compressed at maximum the file to send it over gmail that permit max 25 mb in attachments
and add this cron every 8 hours or what you want, crontab -e and add it
have fun
Last edited: