7 - Cron Jobs

Starting version 1.6.0, CyberPanel now has cron jobs.

Create Cron Job

To create Cron Job navigate to Main > Websites > List Websites > Launch.

After you have launched panel for a website, you can click Cron Jobs under Domains.

This will open Cron Management, from Drop Down select domain and click the Plus sign.

I configured it but it is not working. Accessing the server as root and running the command below I get a “Permission Denied” error.

su website_user php /home/website_here/public_html/core/artisan schedule:run

And using the command to list cronjobs also does not appear the command that was configured in CyberPanel.

  1. Why is the user created by CyberPanel not allowed to create Cron Jobs by default? Could it be a bug?
  2. How do I fix this problem?

Hi Usman,

Can you please tell me what’s the right path for cron jobs because I am unable to set these up since last month.

I’ve tried everything but didn’t succeed. I’m new to this that’s why I’m having trouble setting this up.

And in Mautic documentation it is mentioned that " Mautic 3 introduced a new path for cron jobs bin/console - if you are using the legacy Mautic 2.x series you should replace this with the older version, app/console ". So can you tell which version of Mautic is being used in Cyberpanel?

Thanks in Advance!

Dear Sir Hi
Cron Jobs add main domin but not showing in subdomin icon Croin job ?

thank as per same pic setting done thank you so much

but not showing in subdomin icon Croin job ? how can add sub domin ?

Hello, this command does not run cron echo"CyberPanel">/home/handmadebuy.ru/public_html/cyberpanel.txt, I found another one /usr/bin/wget -q -O /dev/null http://healthhealer.ru/wp-cron.php, it doesn’t launch either. Please write

a command for the site. Thanks

wget -qO- https://handmadeflowers.angellive.ru/wp-cron.php &> /dev/null
I’ll answer it myself), here is this command that correctly launches cron for any site, you can also use * * Advanced Cron Manager** for wordpress, but that’s another story. All the best to you all

How to edit cronjob for domain on Cyberpanel thought Terminal?

From root user try below command
crontab -e -u username
nano /var/spool/cron/crontab/[username]

Thanks, It’s work!

Hi, is there a way to set email address where to email cron job output? By default it’s not sending any emails.