One of the best things about Obsidian Scheduler is how quick and easy it is to get it running jobs. With other tools, you might have to set aside an afternoon to get it going, but with Obsidian, trust me, it won’t take long at all.
To show you how easy it really is, I’m going to walk you through an example of a setting up a simple job that will do a basic health check to make sure our website is working.
.
Step 1 – Download and Run the Installer
Elapsed Time: 0 minutes
- First, just grab the latest Obsidian installation package from our download page.
- Extract the zip file, and double-click on the Obsidian-Install-x.x.x.jar file. (We assume you have Java installed.)
- Go through the installer, make sure the Jetty installation option is checked, and then fill in your basic database connection info. You should point it to a database that already exists. The screenshots below show the Jetty option and a sample MySQL database connection.
- You can shorten this even further if you are willing to use the H2 database initially (we recommend it be used only for evaluations). Simply type this at the command line: java -jar Obsidian-Install-x.x.x.jar h2-jetty-quick-start.xml


Step 2 – Start Obsidian
Elapsed Time: 2 minutes
- Navigate to the installation directory you selected in Step 1, and run the following on the command line, and Obsidian will be merrily on its way.
./webObsidian.sh scheduler start .. or for our Windows friends webObsidian.bat scheduler start
Step 3 – Log In
Elapsed Time: 3 minutes
- Navigate in your browser to http://localhost:8080 and enter admin and changeme for the login credentials.
- Congrats! You have a functioning Obsidian instance that you can execute jobs in!

Step 4 – Configure our Health Check Job
Elapsed Time: 3.5 minutes
- Click on the Configuration, then Jobs, then on the + Icon.
- Configure your health check job by filling in the following fields:
- Nickname: Website Health Check
- Job Class: com.carfey.ops.job.script.GroovyJob
- Defined Parameters > script:
jobContext.saveJobResult('url', url) new URL(url).getText()
- Custom Parameters > Click Add Parameter, then enter:
- Name: url
- Value: https://obsidianscheduler.com (or some other URL)
- Initial Schedule > Schedule: * * * * * (this will run every minute, and you can omit the effective and end times)
- Click Save. After you save it will look something like the screenshot below.
- The job will start running every minute! Easy huh?


Step 5 -You’re Done! Monitor Your Job
Elapsed Time: 5 minutes
- Click on the Job Activity and see your job running!
All that’s left to do is watch your jobs execute! Below are what a success case and a failure might look like.


Of course, we could do a lot better than this as far as messaging goes, but we’ll leave that to you. We could also add some conditional notifications to get alerted of any job failures (which would require setting up SMTP).
So there it is: we do everything we can to make your lives easier, but some things like writing the jobs you’ll unfortunately have to do yourself!
Happy scheduling!