How to list all cron entries on a WHM/cPanel based servers?
Crontab is the program used to install, remove or list the tables used to drive the cron daemon. Cronjobs are predefined jobs which are running periodically according to the settings we have done previously. In the /etc folder there is a file called crontab where we can write the command or name of the script that is to be executed at as per our customized time. You can refer the link pasted below to schedule jobs using crontab.
We are going to explain how we can list all cron entries created by cPanel users in a WHM based server. This can be done by different ways from Linux CLI (command line interface) as you imagine. Here is the small piece of code that helps to list all cron jobs:
cd /var/spool/cron; grep . * /dev/null