![]() |
|
cron task issue - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: cron task issue (/showthread.php?tid=3792) |
cron task issue - elajam - 06-03-2017 I have installed Sentora 1.0.3 on Ubuntu 14.04.5 LTS, also installed xbilling on sentora, everthing is working fine except the cron tasks.I have configured a cron task in cron manager to run 'accounts_jobs.php' every 1 mitute, but nothing is executing, any help, will be very appréciated. RE: cron task issue - TGates - 06-03-2017 Should help: http://forums.sentora.org/showthread.php?tid=491 RE: cron task issue - elajam - 06-04-2017 (06-03-2017, 12:25 PM)TGates Wrote: Should help: http://forums.sentora.org/showthread.php?tid=491Thank you for your reply, with the suggested steps :
here is what I get when i issue the ls command (step 1. not set yet) root@panel:/var/spool/cron# ls -al total 20 drwxr-xr-x 5 root root 4096 Mar 13 08:43 . drwxr-xr-x 7 root root 4096 Apr 1 06:58 .. drwxrwx--T 2 daemon daemon 4096 Jun 1 00:20 atjobs drwxrwx--T 2 daemon daemon 4096 Jun 1 00:20 atspool drwxr--r-- 2 www-data www-data 4096 Apr 1 12:46 crontabs the content of the cron task that I am trying to set "accounts_jobs.php" is as follow : <?php /** * Front-end cron script for ZPanel xBilling Module * Version : 1.1.0 * @author Aderemi Adewale (modpluz @ ZPanel Forums) * Email : goremmy@gmail.com * @desc Performs checks for Domain Expiration Reminder, Invoice Reminder, Domain Deletion */ $dir = '../'; require_once('../config.php'); require_once('../functions/xbilling.php'); //Invoice Reminder InvoiceReminder(); //Disable Expired Domains DisableExpiredDomains(); //Renewal Reminder RenewalReminders(); //Delete Expired Domains after X Days - this will probably come in the next version DeleteExpiredDomains(); ?> RE: cron task issue - TGates - 06-04-2017 On Ubuntu I have: Code: /var/spool/cron/crontabsWith two files in it: Quote:root rw------ root (0600 permissions) If this works, I will update the tutorial. RE: cron task issue - elajam - 06-14-2017 It works !! Thank you very much for your time and support. |