cron jobs not running
search cancel

cron jobs not running

book

Article ID: 95643

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

When setting an alias as a cronjob it is not running.

Environment

Virtual Appliance 14.1 onward

Cause

When setting an alias as a cronjob it is not running.

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