Blog Archives

Set up simple master -> slave replication with mysql

So you have your mysql database running on lets call it SERVER01 and now you want to replicate data to SERVER02, maybe for failover, or just to take load off the master machine so you can do backups and reporting

Posted in MySql, Ubuntu Tagged with: , , ,

Scheduling cronjobs in Ubuntu

Create a text file in your /home folder called “cronjobs.txt” Open it and add a line for each job you want to run: 0 * * * * /usr/bin/unison 0 */5 * * * /usr/bin/cleanup The first line will run

Posted in Ubuntu Tagged with: , , , , , ,