• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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