Cron job addition

Cron job addition

Steps to configure cron job
1)Check whether curl is installed in the system where cron jobs are running, by executing the below command in terminal
 $curl -V
 Output should be similar as below


2)Check the script added in the cron job addition is having executable permission
$ls -al <script added in Job script path>




3)Under Settings -> User Management ->Click on Admin User and generate the API key by clicking the Click here as shown



4)Replace the <ADMIN_API_KEY> with the api key generated above 
5)After replacing paste the content in the target server where cron job is running by following the steps below
  1. In target server terminal execute     
                $ crontab -e 
  1. A cron editor will open 
  2. Paste the curl content and save and exit 
  3. The terminal should return the following
                  crontab: installing new crontab

If cron job details are not getting updated in Applications Manager even after performing the above steps , check whether the target server can access the Applications Manager installed machine and  the port in which it is running by executing the below command in the target server.

telnet remote_server_ip port_number

remote_server_ip/hostname - Replace remote_server_ip with the hostname/ipaddress of machine in which Applications Manager is running.
port_number - Replace Port number with port number in which Applications Manager is running

Example
http://127.0.0.1:9666 - APM build link
telnet 127.0.0.1 9666

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Prerequisites for monitoring Cron jobs

                        Below is the list of prerequisites for monitoring Cron jobs: Curl must be installed in the remote Linux machine.  Script linked to the cron job must have executable permission. The machine where Applications Manager is installed should be reachable ...
                      • AWS Monitor Addition - FAQs

                        Best Practices while adding an Amazon monitor in Applications Manager:  Provide proper 'Display name' for the Amazon monitor. Select the Amazon services you want to discover from the Amazon services drop box. By default, all the services will be ...
                      • Update on the Apache Log4j Vulnerability

                        A high severity vulnerability ( CVE-2021-44228 ) impacting multiple versions of the Apache Log4j2 utility was disclosed publicly on December 9, 2021. The vulnerability impacts Apache Log4j2 versions below 2.15.0. You can find the details of this ...
                      • Troubleshooting errors that occur during monitor addition and data collection in Microsoft 365 monitor (For versions 16310 onwards)

                        From Applications Manager version 16310 onwards, Microsoft 365 monitor will use Microsoft Graph API as the primary mode of data collection. We have migrated from PowerShell to Graph API as Microsoft 365 PowerShell commands were taking more time to ...
                      • Alarm Configuration for JOBs under AS400 Monitor in Applications Manager

                        Alerts can be configured for the STATUS attribute of individual jobs in IBM i(Previously AS400) Monitor. In the Jobs Tab, you will find an option called Add Job(s) to Monitor. You can click and add the corresponding jobs which you want to monitor. ...