Esempio n. 1
0
        public void Execute(IJobExecutionContext context)
        {
            JobDataMap    data          = context.JobDetail.JobDataMap;
            string        databaseName  = data.GetString("DataBaseName");
            ExecuteBackUp executeBackUp = new ExecuteBackUp();

            executeBackUp.BackUpDataBase(databaseName);
        }
Esempio n. 2
0
        public void Execute(IJobExecutionContext context)
        {
            ExecuteBackUp executeBackUp = new ExecuteBackUp();

            executeBackUp.BackUpDataBase();
        }