کد:
crontab -e
0 5 * * * /etc/init.d/mysqld restart
هر روز 5 صبح 5:00am