Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
#1
Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
Hi,

My name is Emil! I am having a problem with my Sentora installation on my Ubuntu 14.04 VPS. I am not able to run cronjob by using the "Cron Manager". The directory is correct and Sentora do accept the script, however nothing happens, it does not run the script every minute (or ever). 

[Image: 2iifx9g.jpg]
I have tried following this guide: http://docs.sentora.org/?node=91 however, I am not sure how to proceed or what to do. 

Any help would be very much appreciated! 

Thanks  Big Grin
Reply
#2
RE: Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
If your daemon is running every 5 mins, chances are good the job is being run. You should take a look at the logs and the domain's error log to see if any errors are popping up. It may be running the task, but not completing it due to an error. (Short tags, misconfigured path or failed DB connection, etc.)
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#3
RE: Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
(12-10-2015, 08:45 AM)TGates Wrote: If your daemon is running every 5 mins, chances are good the job is being run. You should take a look at the logs and the domain's error log to see if any errors are popping up. It may be running the task, but not completing it due to an error. (Short tags, misconfigured path or failed DB connection, etc.)

Thanks for your quick answer! I have checked the deamon and it runs every 5 minute. I have checked the script for errors, and it is working just fine. 

I'm not sure how to check every log, or which I should check, but I have looked in /var/sentora/logs/sentora.log, sentora-errors.log and sentora-access.log and none of them are indicating some kind of error. 

Any ideas? I am kind of a newbie to this command-line thing, yet!

EDIT: I found this command 
Code:
grep CRON /var/log/syslog

on your docs, to read the cronlog. And I found something interesting! It does indeed run the cronjob every minute.
[Image: 29xfz2d.jpg]
Reply
#4
RE: Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
The logs you are looking for are here:
/var/sentora/logs/domains/[domain]/domain.com-error.log
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,288 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 445 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,668 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)