Cron jobs again

Jello

New Member
My mailwizz was running fine for a couple of months and suddenly it stopped sending campaigns.

And i got the message

  • The "send-campaigns" command did not run in the last 12 hours. Please check your cron jobs and make sure they are properly set!
  • The "queue" command did not run in the last 12 hours. Please check your cron jobs and make sure they are properly set!
  • The "send-transactional-emails" command did not run in the last 12 hours. Please check your cron jobs and make sure they are properly set!
  • The "bounce-handler" command did not run in the last 1 day. Please check your cron jobs and make sure they are properly set!
  • The "feedback-loop-handler" command did not run in the last 1 day. Please check your cron jobs and make sure they are properly set!
  • The "process-delivery-and-bounce-log" command did not run in the last 1 day. Please check your cron jobs and make sure they are properly set!
  • The "hourly" command did not run in the last 1 day. Please check your cron jobs and make sure they are properly set!
  • The "daily" command did not run in the last 2 days. Please check your cron jobs and make sure they are properly set!
When i did

/usr//bin/php -q /home/happywhen.com/public_html/wizz/apps/console/console.php send-campaigns verbose=1
I got
Error: Unknown action: verbose=1

In the mean while i deleted the old cronjobs and replaced them by exactly the same

But still the campaings are not running

I restarted the cronjobs but still no campaign is sending

It suddenly stopped a few days ago and nothing was changed?
 
When login using shel and using the command:
systemctl status cron


● cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-07-21 12:31:37 UTC; 1h 19min ago
Docs: man:cron(8)
Main PID: 887
Tasks: 1 (limit: 18684)
Memory: 65.3M
CPU: 53.041s
CGroup: /system.slice/cron.service
└─887 /usr/sbin/cron -f -P

Jul 21 13:51:01 vps-**** CRON[5628]: (happy8539) CMD (/bin/php -q /home/mydomain.com/public_html/wizz/apps/console/console.php queue >/dev/null 2>&1)
Jul 21 13:51:01 vps-**** CRON[5630]: (happy8539) CMD (/bin/php -q /home/mydomain.com/public_html/wizz/apps/console/console.php send-campaigns >/dev/null 2>&1)
Jul 21 13:51:01 vps-**** CRON[5632]: (happy8539) CMD (/bin/php -q /home/mydomain.com/public_html/wizz/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1)
Jul 21 13:51:01 vps-**** CRON[5618]: pam_unix(cron:session): session closed for user root
Jul 21 13:51:01 vps-**** CRON[5620]: pam_unix(cron:session): session closed for user happy8539
Jul 21 13:51:01 vps-**** CRON[5616]: pam_unix(cron:session): session closed for user root
Jul 21 13:51:01 vps-**** CRON[5621]: pam_unix(cron:session): session closed for user happy8539
Jul 21 13:51:01 vps-**** CRON[5615]: pam_unix(cron:session): session closed for user root
Jul 21 13:51:01 vps-**** CRON[5617]: pam_unix(cron:session): session closed for user root
Jul 21 13:51:01 vps-**** CRON[5619]: pam_unix(cron:session): session closed for user happy8539
ubuntu@vps-****:~$
 
When i did

/usr//bin/php -q /home/happywhen.com/public_html/wizz/apps/console/console.php send-campaigns verbose=1
I got
Error: Unknown action: verbose=1
It's:
Code:
/usr/bin/php -q /home/happywhen.com/public_html/wizz/apps/console/console.php send-campaigns --verbose=1
;)
 
Thanks,
So i did

ubuntu@vps-******:~$ /usr/bin/php -q /home/happywhen.com/public_html/wizz/apps/console/console.php send-campaigns --verbose=1
[2023-07-23 14:50:26] - Starting the work for this batch...
[2023-07-23 14:50:26] - Loading 10 campaigns, starting with offset 0...
[2023-07-23 14:50:26] - 282: CDbConnection failed to open the DB connection.

No db connection?
 
Hello,
Please check your ticket. I responded there. There is no mysql module installed for the php used by the cli.

Cosmin
 
Back
Top