Open source tools written in Java. Sponsored by Acelet corporation
|Home | Products | Documents | Downloads | Partners | Contact |

SuperScheduler Tutorial

Welcome to SuperScheduler!

SuperScheduler is a full-featured task scheduler designed for all application job scheduling, including webservices and J2EE applications. When it is scheduled to run J2EE applications, it runs as a client of your J2EE application server. It is entirely written in Java. It is platform neutral and J2EE vendor neutral.

See SuperScheduler Overview about general information.

SuperScheduler runs J2EE tasks and webservice tasks by using the following technologies: 

SuperScheduler logs major events.

If you are not familiar with them, EasyEJB Tutorial and EasyWebservice Tutorial are good places to start.

By the way, you can press the F1 key to access context sensitive help system from any window throughout the whole program. 

Now, let's start our short tutorial for SuperScheduler.

 

1. Go to the main menu. Click on Module > SuperScheduler > Schedule Doer to open the Schedule Doer Panel.

 

2. The Scheduler (Doer) Panel appears. This panel automatically refreshes itself promptly. The Refresh button is for your convenience only.

We get here by clicking the Schedule Doer menu item. So the mode of SuperScheduler is Doer. It shows on the title bar of the panel. To make our tutorial simple, we do not discuss Scheduler mode here.

Let's click on the Add button.

 

3. The Task panel appears. Let's type "MyTask" into the Name field and click on the Set Job button.

 

4. The Set Job Panel appears. Let's click on the Test job type and click the Ok button.

There is a side tour Set Job Tour introducing detail steps for set jobs. You can take the side tour now and come back to this tutorial. Or take the side tour at the end of this tutorial. We will remind you.

5. Now, we come back to the Task Panel. We can see there is a brief information about the selected job on the Job field.

 

6. The schedule term has not been set yet. Let's click on the Set Term button to open the Set Term Panel.

We need to select the Repeating first, because different Repeating will make other GUI parts visible or invisible. Let's click on the Repeating and choose Minutely.

Let's type 5 into the Every text field to make the job run every 5 minutes and set Start Time as the time you want the job start to run for the first time. 

If you want to know more information about how to set term, you can take a side tour Set Term Tour for SuperScheduler and come back to continue this tutorial. Or you can go ahead with this tutorial. We will remind you at the end of this tutorial.

Let's click on the Ok button to close this panel.

 

7. Now we come back to the Task Panel again. We see that the Schedule term field contains brief information about the term. That is what we have specified.

If you want the task to run on certain hosts in your enterprise environment, you can put the host names into the Desired host field. We assume the task "MyTask" can run on any hosts, so we leave the field empty.

Do not forget to specify Alarm Email. If anything goes wrong with this task, a notification email will be send to this email address, such as task missed, task error or task exceeding expected duration.

Let's click on the Ok button to close this panel.

 

8. We come back to the Scheduler Panel. Now, we have one line on the Organizer. That is the summary of our new added task.

On the Organizer: Because this is a new task, there is no content on the Last run time. We specified the task runs every 5 minute, the content of the Last run time will appear once the first task runs and we will see the Next run time changes every 5 minute as well.

On the Activity: It shows the brief information for each working task and missed task. A record will appear in 5 minutes.

 

9. We assume that you have finished EasyEJB tutorial and saved a Poke file named setWinningNumber.ejbPoke. To schedule a EJB (Poke) job, we need to click on the Add button. That will bring the Task Panel, just like what we have done before. But this time, when we open the Set Job Panel, we need to click on the EJB (Poke) job item and click the Define button.

The Import EJB Poke window will appear. Let's highlight the setWinningNumber.ejbPoke file, click on the Import

The EJB Poke Panel appears.

It is similar with Edit Data Panel in EasyEJB tutorial. The main difference is that Shown name is not editable, because we do not need to change it. We do not need to change the input value, so let's click on the Ok button.

We come back to the Set Job Panel.

Then do the same as before by clicking on the Set Term button. We set the job to run every 1 hour.

"My first poke job" will appear in the Scheduler panel:

 

10. You can also see working task activity in graphic mode from the Chart Panel.  Click the Chart tab on the Activity. It shows start time of all the executed tasks and gives you a whole picture about the working tasks. Put the mouse on a mark for a second, the related time will show on the chart as an information tip.

 

11. You can see schedule and task historical information from History Panel.

Go to the main menu > Module > SuperScheduler > History 

You will see Choose History Panel. Check the Activity radio button and click on the Ok button. You will see a table view of schedule and task activity information.

Highlight a line and click on the Detail button. The detail information about this item will show on the History Task Panel.

 

Go to the main menu again. Click on Module > SuperScheduler > History

You will see Choose History Panel. Check the Log radio button and click on the Ok button you will see a table view of schedule and task activity information. This time the information come from log records.

 

Highlight a line and click on the Detail button, the detail information about this item will show on the Log Task Panel.

 

You can see scheduled and task historical  information on the Tracer Panel from SuperTracer as well.

 

12. You can also see a future view of scheduled tasks in text mode and graphic modes. Go to the main menu. Select Module > SuperScheduler > Future View > Period > Select Task, you will see Table view of the schedule. 

  

 

If you click on the Show Chart button, you will see the graphic view of scheduled times. Put the mouse on a mark for a second, the related time will show on the chart as an information tip.

 

13. All the SuperScheduler related information is stored in the task database.

The default setup uses HypersonicSQL database. You can change it to your favorite database later.

Click Module > SuperScheduler > Task database. At this point, our scheduler window is still open, the task database is directly connected. So we will see the following information windows:

   

Then the Direct Task Database Connect Panel appears. If you want to modify this window, you need to close all scheduler windows. You'd better change the reserved word localhost to the real machine name to avoid confusing.

 

14. There are some side tours of SuperScheduler, it is time to take those side tours now. 

 

This is our SuperScheduler tutorial. You can get more information from SuperScheduler.

 


   © Copyright 1999-2008 Acelet Corporation. All rights reserved.