• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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