• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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