Hi ,
I wrote a job to be triggered daily at 2 AM .While scheduling job I have the start time as next day 2 AM. But the job is triggered twice when plugin is installed or server restarted.I dont want that job to be triggered at either server startup or plugin installation..how to do that ?.. can any one help out of this?
I think you have to overwrite the onStart() method in the class extending LifecycleAware and let it do nothing.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.