cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop Scheduled Actions?

jayxm1106
Champ in-the-making
Champ in-the-making
Dear Andy,

i wanna know is it possible to stop Scheduled Actions without modify/delete definition and restart server?
And i want to execute Scheduled Actions by hand. I checked  http://wiki.alfresco.com/wiki/Scheduled_Actions carefully but have no idea.

Pls help me.
2 REPLIES 2

jayxm1106
Champ in-the-making
Champ in-the-making
anyone help me??

mitpatoliya
Star Collaborator
Star Collaborator
Well These is what generally we follow.

Create one service which do all the operations which you like to do during job run.
Inject that service class in your scheduler bean and call appropriate service method from that service.
Now if you want to test your functionality you can inject the same service in other bean or action class and trigger the same functionality from that bean.
Main idea is to separate the service and you scheduler bean.