Вы находитесь на странице: 1из 2

mysql> select * from scheduler_action;

+----+-----------------------------------------------------
+-----------------------------------+---------------------------------------------
+---------------+--------+------------------------+
| id | class_name | function_name
| expression | time_interval | status | serverid
|
+----+-----------------------------------------------------
+-----------------------------------+---------------------------------------------
+---------------+--------+------------------------+
| 1 | com.magri.job.SendSmsArchiver | archieveSendSmsTable
| 0 30 22 1/1 * ? * | NULL | 100 | sms_jobs
|
| 2 | com.magri.job.PushContentSms | createNewsSendSmsQuery
| 0 25 15 ? * MON,TUE,THU,FRI,SAT,SUN * | NULL | 100 | sms_jobs
|
| 3 | com.magri.job.PushContentSms | pushNewsSmsContent
| 0/9 0/1 15-20 ? * MON,TUE,THU,FRI,SAT,SUN * | NULL | 100 | sms_jobs
|
| 5 | com.magri.job.CreateIVRJob |
createValidatedAdvisoryJob | 0 2 6 1/1 * ? * |
NULL | -100 | sms_jobs |
| 6 | com.magri.job.PushAutoWeatherAdvisory | sendSMStosubscibers
| 0/9 0/1 7-14 * * ? | NULL | 100 | sms_jobs
|
| 11 | com.magri.job.CreateGbGeneralAdvisoryObdJob |
createGeneralAdvisoryGbJob | 0 10 6 1/1 * ? * |
NULL | -100 | sms_jobs |
| 14 | com.magri.job.PunjabAdvisorySms |
punjabAdvisorySendSmsQuery | 0 5 6 1/1 * ? * |
NULL | 100 | sms_jobs |
| 15 | com.magri.job.CreateSindhIVRJob |
createValidatedAdvisoryJob | 0 10 6 1/1 * ? * |
NULL | -100 | sms_jobs |
| 17 | com.magri.job.SendGeneralAdvisorySmsSindh |
pushGeneralAdvisorySmsContent | 0/9 0/1 7-14 * * ? |
NULL | 100 | sms_jobs |
| 18 | com.magri.job.SendGeneralAdvisorySmsSindh |
createGeneralAdvisorySendSmsQuery | 0 10 6 1/1 * ? * |
NULL | 100 | sms_jobs |
| 19 | com.magri.job.CreateKpkIVRJob |
createValidatedAdvisoryJob | 0 10 6 1/1 * ? * |
NULL | -100 | sms_jobs |
| 20 | com.magri.job.SendGeneralAdvisorySmsKpk |
pushGeneralAdvisorySmsContent | 0/9 0/1 7-14 * * ? |
NULL | 100 | sms_jobs |
| 21 | com.magri.job.SendGeneralAdvisorySmsKpk |
createGeneralAdvisorySendSmsQuery | 0 15 6 1/1 * ? * |
NULL | 100 | sms_jobs |
| 9 | com.magri.job.SendGeneralAdvisorySmsGB |
pushGeneralAdvisorySmsContent | 0/9 0/1 7-14 * * ? |
NULL | 100 | sms_jobs |
| 10 | com.magri.job.SendGeneralAdvisorySmsGB |
createGeneralAdvisorySendSmsQuery | 0 20 6 1/1 * ? * |
NULL | 100 | sms_jobs |
| 12 | com.magri.job.SendLiveStockEveningSmsGB |
createEveningAdvisorySendSmsQuery | 0 30 18 1/1 * ? * |
NULL | 100 | sms_jobs |
| 13 | com.magri.job.SendLiveStockEveningSmsGB | pushEveningSmsContent
| 0/9 0/1 19-20 * * ? | NULL | 100 | sms_jobs
|
| 16 | com.magri.job.CreateIVRCongestionJob |
createValidatedAdvisoryJob | 0 0/5 11-13 1/1 * ? * |
NULL | -100 | sms_jobs |
| 23 | com.magri.job.UpdateWeatherScheduler | syncWeatherFromAPI
| 0/16 * 0,5,9,11,17 1/1 * ? * | NULL | 100 | sms_jobs
|
| 24 | com.magri.scheduler.CreateJob | CreateObdJobs
| NULL | 60 | 100 |
magri_auto_job_creator |
| 0 | com.magri.job.UpdateGBWeatherForEvening | syncGBWeatherFromAPI
| 0,20,40 * 17 1/1 * ? * | NULL | 100 | sms_jobs
|
| 26 | com.location.scheduler.jobs.UpdateLocationProcessor |
processUpdateLocationRequest | NULL |
60 | -100 | change_location |
| 27 | com.location.scheduler.jobs.FetchLocationProcessor |
processFetchLocationChangeRequest | NULL |
60 | -100 | change_location |
+----+-----------------------------------------------------
+-----------------------------------+---------------------------------------------
+---------------+--------+------------------------+
23 rows in set (0.00 sec)

mysql>
mysql> create table scheduler_action_bk20180823 select * from scheduler_action;
Query OK, 23 rows affected (0.84 sec)
Records: 23 Duplicates: 0 Warnings: 0

mysql> update scheduler_action set status=-100 where id in (3,6,17,20,9,13);


Query OK, 6 rows affected (0.00 sec)
Rows matched: 6 Changed: 6 Warnings: 0