• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

setup db cron by root

M

modom

Guest
Hi,

I would like to put all crons of my databases into one .sh file on my server and then setup a cron by root for the .sh file to save each night which would save all the databases into each customer's folder. Is this possible?

The db cron is:

/usr/bin/mysqldump --lock-tables -u -p db > httpdocs/admin/backups/store.sql

I want to put this script into a .sh file and save just the .sh file with other database crons listed in it.

Thanks for your help!
 
Back
Top