Iraje CRON Server & Script Manager manual version 8


'Cron' is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. Cron runs in the background and tasks scheduled with cron, referred to as cron jobs are executed automatically, making cron useful for automating maintenance-related tasks. It typically automates system maintenance or administration though its general-purpose nature makes it useful for things like scheduling repetitive tasks.

The Server which is used by PAM to install Thick client applications provided by Iraje PAM clients to ensure PAM Server Security & availability.


It is used to schedule commands at a specific time. These scheduled commands or tasks are known as “Cron Jobs”. Cron is generally used for running scheduled backups, monitoring disk space, deleting files (for example log files) periodically which are no longer required, running system maintenance tasks and a lot more.

This SOP will help enable & train the users on how to use the Cron service with modules & all functionalities. This manual will help the users get familiar with the tool which will ease the job of engineers who use to do it manually & shall get the job/tasks done in well automated & effective way.

Target Audience

End Users, Admins Using Cron tool and Client

Cron Server Configuration

Step 1:

To configure a CRON server user needs to have a machine with CentOS, local machine or virtual machine. The CRON server hostname should be 'CRON000' & it should have administrative privileges and Internet connection on required server.

Step 2:

To configure CRON server we need to install two packages on server:

  • ‘expect’ package on CRON server & to install this following command is required: '#Yum install expect'

  • 'tcl’ package on CRON server & to install this following command is required: '#Yum install tcl'

Step 3:
To store a script on CRON server like Storage, backup etc. In CRON server we can store multiple scripts

Script Manager Configuration

Step 1: Open 'Access Control Manager' Module and go to 'Directory Access'

Step 2: Choose ‘SYSTEMS’ in Select Group

Step 3: Click on Configure 'Access Control Master'

Step 4: Create New Connection

  • Create connection on PAM as cron server (X11 Forwarding enable) & Click on 'Add' button

Step 5: Click on 'Access Control Master'

Step 6: Click on 'Retrieve Connection' Filter button

  • Click on 'Select All' and then click on 'Ok'

Step 7: Right Click on 'Connection' and then select 'Manage script (Group)'

Step 8: To configure the Script:

  • Click on the 'Scripts' column and add scripts name same as define in CRON server

  • Click on the 'Description 'column and add description as required for the script

  • Click on ' Script Windows' and add script as defined in CRON server for 'Scripts' name

  • Close Script manager & Access Control Master Window

Execute Scripts

Step 1: Click on configure 'access control manager'

Step 2: Click on 'ACM password security manager'

Step 3: Right click on 'selected Connection' and click on 'Execute Script via cron server'

Step 4: Click on 'Created by (Connection)' and get the scheduler settings module

In scheduler setting windows, click on 'Schedule Time '

User needs to Select the 'Day' and 'Time' at what time that script must be executed once

Step 5: click on 'Script Settings'

Add your 'Script Name' in the column & in 'Connection(s)' column user will be able to see the set of connection that are already present

Click on 'Add’ to get the required connection from 'Connection' column to 'Selected connection(s)' or Enable on 'Execute on Group' to get the required group connections executed

Step 6: Right click on 'Created by (connection)' it will pop up with Start/ Stop, Delete and Execute now, etc. Click on 'Execute Now'.

Step 7: User need to confirm they want to execute the script or not by clicking 'Yes' or 'No'

Step 8: If the script is executed successfully it will get display green flag