cron jobs not running

Document ID : KB000095643
Last Modified Date : 08/08/2018
Show Technical Document Details
Issue:
When setting an alias as a cronjob it is not running.
Environment:
Virtual Appliance 14.1 onward
Cause:
The user running the cron is not aware of the aliases set.

 
Resolution:
You need to find the exact command used (under user config run the 'alias' command it will give you the command behind each alias.
Use this command instead of the alias.
For example:

59 23 * * *  sudo /etc/init.d/ wildfly - ig restart
This cron  entry will restart IG every day at 11:59 PM
Note that no single quotes are used for the command itself.
Additional Information:
N/A