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 ......
Crontab not function
|
RE: Crontab not function
10-15-2017, 09:26 PM
(This post was last modified: 10-15-2017, 09:29 PM by betatester3.0.)
(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.
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated. BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw (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 .. (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.
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated. BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw
RE: Crontab not function
10-16-2017, 12:01 AM
(This post was last modified: 10-16-2017, 12:11 AM by CJsent.)
(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 .... (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
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated. BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw Thanks given by: CJsent
(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. (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.
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated. BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Fatal error: Call to a member function query() on a non-object ..DatabasePDO.php | alexandratrese | 1 | 4 ,834 |
07-29-2018, 09:56 AM Last Post: TGates |
|
Some Edition crontab | QTVLegend | 1 | 4 ,725 |
04-26-2018, 01:21 AM Last Post: TGates |
|
Some Edition crontab | superstarnetworks | 2 | 6 ,864 |
08-15-2017, 01:49 AM Last Post: superstarnetworks |
Users browsing this thread: 1 Guest(s)