![]() |
|
Crontab not function - 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: Crontab not function (/showthread.php?tid=4128) Pages:
1
2
|
Crontab not function - CJsent - 10-15-2017 I have installed CentOS 6.9 and Sentora in Server.... when i configured the cron tab, i figured out it is not functioning . Kindly can someone help in this ......
RE: Crontab not function - betatester3.0 - 10-15-2017 (10-15-2017, 07:00 PM)CJsent Wrote: I have installed CentOS 6.9 and Sentora in Server.... when i configured the cron tab, i figured out it is not functioning . Kindly can someone help in this ...... did you use the proper location for the cron job?, could you be more specific ? EDIT: found the cron job post from TGates http://forums.sentora.org/showthread.php?tid=491 If I helped +rep is appreciated. RE: Crontab not function - CJsent - 10-15-2017 (10-15-2017, 09:26 PM)betatester3.0 Wrote: did you use the proper location for the cron job?, could you be more specific ? The location is proper..the job has been added to the task...but the assigned task is not functioning on the scheduled time .. RE: Crontab not function - betatester3.0 - 10-15-2017 (10-15-2017, 09:58 PM)CJsent Wrote: The location is proper..the job has been added to the task...but the assigned task is not functioning on the scheduled time .. hmmm.., check for any errors in your log files. RE: Crontab not function - CJsent - 10-16-2017 (10-15-2017, 11:59 PM)betatester3.0 Wrote: hmmm.., check for any errors in your log files. Were can i find cron log files ??? one more thing , if i run the file manually the code works ..... (10-16-2017, 12:01 AM)CJsent Wrote: Were can i find cron log files ??? one more thing , if i run the file manually the code works ..... I have checked the cron logs...the script is running in the log every one minute...but i am not seeing any out put .... RE: Crontab not function - betatester3.0 - 10-16-2017 (10-16-2017, 12:01 AM)CJsent Wrote: Were can i find cron log files ??? one more thing , if i run the file manually the code works ..... Login to your panel using ssh, then hit "php -q /etc/sentora/panel/bin/daemon.php" force the Daemon to run and see if there are any errors in the output RE: Crontab not function - CJsent - 10-17-2017 (10-16-2017, 09:38 PM)betatester3.0 Wrote: Login to your panel using ssh, then hit "php -q /etc/sentora/panel/bin/daemon.php" Finally the cron job is running ... the issue was the db connectivity link, which was like '../include/db' and then i gave db credentials directly in cron task fileĀ and it worked. I have no idea why it did not take this ( '../include/db') way of linking. RE: Crontab not function - betatester3.0 - 10-17-2017 (10-17-2017, 12:00 AM)CJsent Wrote: Finally the cron job is running ... the issue was the db connectivity link, which was like '../include/db' and then i gave db credentials directly in cron task fileĀ and it worked. I have no idea why it did not take this ( '../include/db') way of linking. Awesome, now I can add this fix to my notes. Just incase this error happens to occur on my server. RE: Crontab not function - CJsent - 10-17-2017 (10-17-2017, 05:54 AM)betatester3.0 Wrote: Awesome, now I can add this fix to my notes. Just incase this error happens to occur on my server. If u find any solution for this kindly let me know .... Thank you for your support
RE: Crontab not function - CJsent - 10-17-2017 (10-17-2017, 05:40 PM)CJsent Wrote: If u find any solution for this kindly let me know .... Thank you for your support Do you know any filemanager that works with Sentora..... Previously i was using ajaxplorer with zpanel, now in sentora it is not working .... |