Get cronjobs via php script
Hello,
is there a way to retrieve all running cron jobs on cpanel via a script?
Any help on how to achieve this is very welcome.
Thanks in advance.
-
Hi @tryingnewthings Do you mean actively running or just cron's added to cPanel accounts? You can see the list of crons at /var/spool/cron
For all accounts present on the server.0 -
How do I access this via script @cPanelLauren? I want to get my Current Cron Jobs, those that I see/add on cPanel GUI 0 -
You might be able to get what you want using the cPanel API 2 Functions - Cron::listcron - Developer Documentation - cPanel Documentation 0
Please sign in to leave a comment.
Comments
3 comments