How to disable all cron jobs in Hybris

One of the best options to improve the performance of Hybris server in local system is “disable all cron jobs

There are several cronjobs configured by Hybris which keeps on running when we start our server.

Not all the time we will be working on Cron jobs, So it is not required to keep on running all cron jobs in local system.

Because this will consume huge memory unnecessarily and slows down the performance.

This mainly happens because Hybris timer task keeps on running after server startup and checks the trigger of all the cron jobs,
If trigger matches current time, it picks up that cron job and runs it automatically.

There are many cron jobs like Solr indexer job which are already scheduled to run for every few minutes.

We can see the same in the below screenshot.

cronjobs_running_server_startup

Ideally, In our local system we don’t need to run those jobs for every few minutes.

How to disable all cron jobs running automatically in Hybris ?


We just need to add below key value pair in local.properties file

  1. cronjob.timertask.loadonstartup=false
cronjob.timertask.loadonstartup=false


If its already there, make sure it is set to false.

Setting it to false will not allow the system to start the cron jobs automatically after server restart and thus increases the system performance.

Note :

This property change should be used only for local system and should not be a part of your code commit as other higher environments will be highly impacted by this.

About the Author

Founder of javainsimpleway.com
I love Java and open source technologies and very much passionate about software development.
I like to share my knowledge with others especially on technology 🙂
I have given all the examples as simple as possible to understand for the beginners.
All the code posted on my blog is developed,compiled and tested in my development environment.
If you find any mistakes or bugs, Please drop an email to kb.knowledge.sharing@gmail.com

Connect with me on Facebook for more updates

Share this article on