-1
votes
1answer
31 views

sending email from cron in html format not text

i am trying to send email every 1 hour from cron job which is executing a php script that fetches data from database and shows in a table format. i have CentOs 6.1 where i created my cron job.firstly ...
1
vote
1answer
212 views

Crons not working on ISPConfig3

I have a CentOS LEMP stack with ISPConfig3. Everything is working perfectly, except for the cron jobs. I have tested the commands from command line, and they seem to be working fine, but when I put ...
1
vote
2answers
861 views

Incrond running but not executing commands CentOS 6.4

I have copied this question over here from StackOverflow... I have installed incron from the EPEL repository (0.5.9) (before you ask; YES, I also tried downloading the source and compiling locally ...
1
vote
1answer
87 views

Mis-typed crontab line caused strange operation

So, I meant to put in the following entry in my crontab: */5 * * * * /command/to/run/every/5/minutes but accidentally typed **/5 * * * * /command/to/run/5/times/a/minute So, the command ran 5 ...
2
votes
2answers
637 views

anacron screws my crontab?

My system is CentOS 6.3 , I notice my /etc/cron.daily are not executed at 4:01 AM , instead , these scripts are executed at random time . I searched and seemed it is 'anacron' that screws up my ...
12
votes
1answer
5k views

What is the correct way of getting crontab on CentOS 6?

I have a server running CentOS 6.2 minimal, but it doesn't appear to have crontab installed by default? crontab -e -bash: crontab: command not found In searching google, I found references to a ...
0
votes
1answer
2k views

crontab doesn't work on centos 6

/etc/crontab: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts ...
-1
votes
1answer
180 views

RKHunter and CHKRootkit Hunter

Is it possible for them to only send an email if something is found? I've never had them find something but the emails get annoying when they come in every day and you have to check them.
1
vote
1answer
3k views

How do you set a DATE variable to use in a log for crontab output?

I was playing aroudn with some variations of date like DATE = $(date) but that didnt work either crontab -e CRONLOG=/tmp/log/crontab.log DATEVAR=`date +20\%y\%m\%d_\%H\%M\%S` * * * * * echo ...
0
votes
3answers
621 views

Why does cron on CentOS complain about carriage returns?

I have a CentOS 6 machine I am trying to run some cronjobs on and the jobs are failing complaining about a carriage return (^M) on the end of the line. Example /var/log/cron entry: CROND[20344]: ...