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 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 ...
                    • Troubleshooting steps for SAP Server/SAP CCMS Monitor addition

                      SAP Monitor addition gets failed due to the following reasons. User Name / Password is given wrong Check the username and password in SAP Server Logon User account locked - Too many failed attempts : (Need to unlock the user from SAP Server) In SAP ...
                    • Troubleshooting MS SQL Monitor Addition Problems

                      Please refer to the Prerequisites for MS SQL Database Server before adding a monitor. 1. Ensure that the SQL Server is running and accessible. Try connecting to the SQL Server instance via SQL Server Management Studio or DBVisualizer using the same ...
                    • 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 ...
                    • Monitor Addition Restriction in Managed Servers

                      In Applications Manager, there is a fixed limit on the total number of monitors a user can add to a managed server. When a user attempts to add a new monitor to a managed server that has reached its limit, a warning message will be displayed on the ...