cron.hourly problem

Ask questions about Arch Linux ARM. Please search before making a new topic.

cron.hourly problem

Postby g8jvm » Thu May 23, 2013 8:33 pm

Hi,
sorry me again
I have an executable file in /etc/cron.hourly which is not being run
there is no crontab
but
$this->bbcode_second_pass_code('', '[root@Pogopig cron.hourly]# pgrep cron
129
[root@Pogopig cron.hourly]# ps aux |grep cron
root 129 0.0 0.4 4808 1240 ? Ss May21 0:01 /usr/sbin/crond -n

')
there is an anacrontab
$this->bbcode_second_pass_code('', 'SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# the maximal random delay added to the base delay of the jobs
RANDOM_DELAY=45
# the jobs will be started during the following hours only
START_HOURS_RANGE=3-22

#period in days delay in minutes job-identifier command
1 5 cron.daily nice run-parts /etc/cron.daily
7 25 cron.weekly nice run-parts /etc/cron.weekly
@monthly 45 cron.monthly nice run-parts /etc/cron.monthly
')

nothing hourly there
All thats in /etc/cron.hourly is
$this->bbcode_second_pass_code('', '[root@Pogopig cron.hourly]# ls -la
total 16
drwxr-xr-x 2 root root 4096 May 21 14:28 .
drwxr-xr-x 51 root root 4096 May 20 14:28 ..
-rwxr-xr-x 1 root root 391 Jan 7 16:05 0anacron
-rwxr-xr-x 1 root root 1145 May 23 20:49 autodel
')

Should there be an entry in anacrontab to allow cron to run the files in /etc/cron.daily ????

TIA
Best wishes
Richard
richard@g8jvm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ham Call: G8JVM , QRA IO82SP38 interests weak signal propagation
VHF to microwave, http://www.g8jvm.com
g8jvm
 
Posts: 93
Joined: Mon Apr 22, 2013 4:40 pm
Location: United Kingdom

Re: cron.hourly problem

Postby hydro » Fri May 24, 2013 6:21 am

From what is explained here the hourly jobs should be run through /etc/cron.d/0hourly. Check journalctl | grep cron.hourly.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests