MySQLBackupScript: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
m (Drew moved page MySQL Backup Script to MySQLBackupScript without leaving a redirect: rename to MySQLBackupScript)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
==Crontab Entry==
==Crontab Entry==
/etc/crontab;
/etc/crontab;
<pre>0 4 * * * drew /home/drew/cron/mysql_backup.sh >> /home/drew/cron/mysql_backup.log;</pre>
<syntaxhighlight lang=bash>
0 4 * * * drew /home/drew/cron/mysql_backup.sh >> /home/drew/cron/mysql_backup.log;
</syntaxhighlight>

Latest revision as of 17:34, 4 March 2018

The Script

Moved to GitHub

  • Need to get pw off console command

Crontab Entry

/etc/crontab;

0 4 	* * * 	drew	/home/drew/cron/mysql_backup.sh >> /home/drew/cron/mysql_backup.log;