top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

cron on centos 6.x?

+1 vote
317 views

Do you need cron installed for the files in /etc/cron.daily/ to execute?

Did a Centos 6.x minimal openvz install and noticed cron is not installed by default and after installing mlocate cant help but wander if it will be updated without it.

posted Jul 28, 2014 by Seema Siddique

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

For this you need cronie (the cron daemon) and crontabs (user bindings, including root), see yum info:

Installed Packages
Name : cronie
Arch : x86_64
....

Name : crontabs
Arch : noarch
....

answer Jul 28, 2014 by Bob Wise
Similar Questions
+1 vote

I'm trying to figure out a way to insert a timestamp into a log file I'm creating for a cron job:

/usr/bin/rsync -v --min-size=1 -rlpgo -O --inplace /home/myuser/Get*
root@xx.x.xx.xx:/mnt/yyy/zzz/compass 2>&1 >& /tmp/rsync_user.log

I've googled this but all I could find are tips on how to add the time and date to the name of the log file itself, not to the contents of the log.

Any tips or pointers would be great.

+1 vote

I'm interested in a replacement for cron which would allow me to run various cron jobs on demand, and mark them as having been run, so they won't be run again from the schedule.

I noticed whenjobs, which looks like it may do the job. The documentation for whenjobs says that it is obsolete and has been replaced by goaljobs.

Has anyone tried out whenjobs or goaljobs.

...