top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

By default what day does cron.weekly run [CLOSED]

+1 vote
281 views
By default what day does cron.weekly run [CLOSED]
closed with the note: None
posted Aug 18, 2013 by Garima Jain

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

2 Answers

+1 vote

AFAIK there is no concept of a default day when it comes to running what is in cron.weekly.

The jobs in cron.weekly are run via anacron. This is controlled by /etc/anacrontab which only specifies only the period. You can tell the last date it was run by doing cat /var/spool/anacron/cron.weekly

answer Aug 18, 2013 by anonymous
+1 vote
answer Aug 18, 2013 by Amit Parthsarthi
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.

+1 vote

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.

...