– notes, snippet codes, and my journal

Archive for June 2015

Backup Mysql Database

leave a comment »

[ Window ] Backup MySql using script :

Automating It All

Linux has cron, Windows has at. The at command schedules commands to run as often as you’d like. In this case, we’re going to run the backup one day a week at 2 AM.

Open up the command prompt and type the following:

at 02:00 /every:M,T,W,Th,F,S,Su c:\path\mysql-backup.bat

Once you run this, it should return “Added a new job with job ID = X”

Type at to make sure that it’s in the schedule.

ref :

Written by snippetjournal

June 26, 2015 at 3:15 am

Posted in Collection Link

Tagged with , , ,

#TIL Nasehat

leave a comment »

Ambil dan dengarkan nasehat orang orang sholeh, bukan orang orang fasik.
Karena hati mereka (orang orang sholeh itu) lebih dekat dengan tuhan nya.
Karena sebaik baiknya nasehat, nasehat mereka lebih baik.

Written by snippetjournal

June 25, 2015 at 10:10 pm

Posted in Opini, Random Quotes