Troubleshooting
Problem
This document brings some suggestions that you can check in your environment where you experience issues with crontasks that do not appear to be running.
Resolving The Problem
In order to track when each crontask instance runs last, you can use this SQL query:
SELECT * FROM TASKSCHEDULER;
But if you have a crontask in Maximo that is not running, there are some things you may need to check in your environment :
1. Go to Cron Task Setup and make sure your cron task has an ACTIVE instance and a run schedule set.
2. Check setting in your maximo.properties file. Reason for that is because you can prevent cron tasks from running for individual servers by using the mxe.crontask.donotrun system property.
You can define the mxe.crontask.donotrun property on the database or in the maximo.properties file. You use: mxe.crontask.donotrun=crontaskname.instancename, but you need to replace the text crontaskname.instancename with the name and instance of the cron task
For example : Perhaps your cron task is set on the mxe.crontask.donotrun property :
mxe.crontask.donotrun=JMSQSEQCONSUMER.SEQQOUT
or
mxe.crontask.donotrun=ALL (NOTE: this prevents all crontasks from running)
3. Make sure the ADMINMODE is turned off.
There is an "Admin Mode" function in Maximo 7.x. That function enables the system administrator to configure the database without having to shut the Maximo server down temporarily. This function exists in the Database Configuration application.
When setting Admin Mode to ON, it suspends crontasks. If "Admin Mode" is set to ON, change it to OFF. The crontasks will then run again.
Below is the SQL command to check the "Admin Mode" setting":
SELECT * FROM MAXVARS WHERE VARNAME = 'ADMINRESTART'
Should you need any assistance, please contact IBM Maximo Support
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21628394