@@ -119,7 +119,7 @@ public String getOnListRenew(
119119 @ RequestMapping (path ="/start/tweets/search" )
120120 public String fetchTweetsFromTwitterSearchStartTask (Model model ) {
121121 String msg = "/start/tweets/search" ;
122- String title = "Scheduled Task started: fetch Tweets from Search" ;
122+ String title = "Cronjob Task started: fetch Tweets from Search" ;
123123 String subtitle = "/start/tweets/search" ;
124124 String symbol = Symbols .TASK .toString ();
125125 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -131,7 +131,7 @@ public String fetchTweetsFromTwitterSearchStartTask(Model model) {
131131 @ RequestMapping (path ="/start/tweets/update" )
132132 public String updateTweetsStartTask (Model model ) {
133133 String msg = "/start/tweets/update" ;
134- String title = "Scheduled Task started: update Tweets" ;
134+ String title = "Cronjob Task started: update Tweets" ;
135135 String subtitle = "/start/tweets/update" ;
136136 String symbol = Symbols .TASK .toString ();
137137 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -143,7 +143,7 @@ public String updateTweetsStartTask(Model model) {
143143 @ RequestMapping (path ="/start/users/update" )
144144 public String updateUsersStartTask (Model model ) {
145145 String msg = "/start/users/update" ;
146- String title = "Scheduled Task started: update Users" ;
146+ String title = "Cronjob Task started: update Users" ;
147147 String subtitle = "/start/users/update" ;
148148 String symbol = Symbols .TASK .toString ();
149149 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -155,7 +155,7 @@ public String updateUsersStartTask(Model model) {
155155 @ RequestMapping (path ="/start/users/list/fetch" )
156156 public String fetchUsersFromDefinedUserListStartTask (Model model ){
157157 String msg = "/start/users/list/fetch" ;
158- String title = "Scheduled Task started: fetch Users from List" ;
158+ String title = "Cronjob Task started: fetch Users from List" ;
159159 String subtitle = "/start/users/list/fetch" ;
160160 String symbol = Symbols .TASK .toString ();
161161 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -167,7 +167,7 @@ public String fetchUsersFromDefinedUserListStartTask(Model model){
167167 @ RequestMapping (path ="/start/users/follower/fetch" )
168168 public String fetchFollowerStartTask (Model model ){
169169 String msg = "/start/users/follower/fetch" ;
170- String title = "Scheduled Task started: fetch Follower" ;
170+ String title = "Cronjob Task started: fetch Follower" ;
171171 String subtitle = "/start/users/follower/fetch" ;
172172 String symbol = Symbols .TASK .toString ();
173173 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -179,7 +179,7 @@ public String fetchFollowerStartTask(Model model){
179179 @ RequestMapping (path ="/start/users/friends/fetch" )
180180 public String fetchFriendsStartTask (Model model ){
181181 String msg = "/start/users/friends/fetch" ;
182- String title = "Scheduled Task started: fetch Friends" ;
182+ String title = "Cronjob Task started: fetch Friends" ;
183183 String subtitle = "/start/users/friends/fetch" ;
184184 String symbol = Symbols .TASK .toString ();
185185 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -191,7 +191,7 @@ public String fetchFriendsStartTask(Model model){
191191 @ RequestMapping (path ="/start/users/mentions/update" )
192192 public String updateUserProfilesFromMentionsStartTask (Model model ){
193193 String msg = "/start/users/mentions/update" ;
194- String title = "Scheduled Task started: update Users from Mentions" ;
194+ String title = "Cronjob Task started: update Users from Mentions" ;
195195 String subtitle = "/start/users/mentions/update" ;
196196 String symbol = Symbols .TASK .toString ();
197197 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -203,7 +203,7 @@ public String updateUserProfilesFromMentionsStartTask(Model model){
203203 @ RequestMapping (path ="/start/tweets/timeline/home" )
204204 public String getHomeTimeline (Model model ) {
205205 String msg = "/start/tweets/timeline/home" ;
206- String title = "Scheduled Task started: getHomeTimeline" ;
206+ String title = "Cronjob Task started: getHomeTimeline" ;
207207 String subtitle = "/start/tweets/timeline/home" ;
208208 String symbol = Symbols .TASK .toString ();
209209 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -215,7 +215,7 @@ public String getHomeTimeline(Model model) {
215215 @ RequestMapping (path ="/start/tweets/timeline/user" )
216216 public String getUserTimeline (Model model ) {
217217 String msg = "/start/tweets/timeline/user" ;
218- String title = "Scheduled Task started: getUserTimeline" ;
218+ String title = "Cronjob Task started: getUserTimeline" ;
219219 String subtitle = "/start/tweets/timeline/user" ;
220220 String symbol = Symbols .TASK .toString ();
221221 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -227,7 +227,7 @@ public String getUserTimeline(Model model) {
227227 @ RequestMapping (path ="/start/tweets/mentions" )
228228 public String getMentions (Model model ) {
229229 String msg = "/start/tweets/mentions" ;
230- String title = "Scheduled Task started: getMentions" ;
230+ String title = "Cronjob Task started: getMentions" ;
231231 String subtitle = "/start/tweets/mentions" ;
232232 String symbol = Symbols .TASK .toString ();
233233 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -239,7 +239,7 @@ public String getMentions(Model model) {
239239 @ RequestMapping (path ="/start/tweets/favorites" )
240240 public String getFavorites (Model model ) {
241241 String msg = "/start/tweets/favorites" ;
242- String title = "Scheduled Task started: getFavorites" ;
242+ String title = "Cronjob Task started: getFavorites" ;
243243 String subtitle = "/start/tweets/favorites" ;
244244 String symbol = Symbols .TASK .toString ();
245245 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -251,7 +251,7 @@ public String getFavorites(Model model) {
251251 @ RequestMapping (path ="/start/tweets/myretweets" )
252252 public String getRetweetsOfMe (Model model ) {
253253 String msg = "/start/tweets/myretweets" ;
254- String title = "Scheduled Task started: getRetweetsOfMe" ;
254+ String title = "Cronjob Task started: getRetweetsOfMe" ;
255255 String subtitle = "/start/tweets/myretweets" ;
256256 String symbol = Symbols .TASK .toString ();
257257 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -263,7 +263,7 @@ public String getRetweetsOfMe(Model model) {
263263 @ RequestMapping (path ="/start/userlists" )
264264 public String getLists (Model model ) {
265265 String msg = "/start/userlists" ;
266- String title = "Scheduled Task started: getLists" ;
266+ String title = "Cronjob Task started: getLists" ;
267267 String subtitle = "/start/userlists" ;
268268 String symbol = Symbols .TASK .toString ();
269269 model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
@@ -276,6 +276,18 @@ public String getLists(Model model) {
276276 return PATH +"/start/tasksStarted" ;
277277 }
278278
279+ @ RequestMapping (path ="/start/url/update" )
280+ public String startUpdateUrls (Model model ) {
281+ String msg = "/start/url/update" ;
282+ String title = "Cronjob Task started: UpdateUrls" ;
283+ String subtitle = "/start/url/update" ;
284+ String symbol = Symbols .TASK .toString ();
285+ model = contentFactory .setupPage (model ,title ,subtitle ,symbol );
286+ Task task = mqTaskStartFireAndForget .startUpdateUrls ();
287+ model .addAttribute ("task" ,task );
288+ return PATH +"/start/taskStarted" ;
289+ }
290+
279291
280292 private static final Logger log = LoggerFactory .getLogger (TaskController .class );
281293
0 commit comments