Re: crond/anacron

2021-12-11 Thread Jonathan Billings
> On Dec 11, 2021, at 13:45, Patrick Dupre wrote: > > and here /etc/crontab > 22 23 * * * root run-parts /etc/cron.daily > 30 12 * * 6 root run-parts /etc/cron.weekly Ah. This is why you are getting two jobs. /etc/crontab should not have those two lines. There should be an /etc/cron.hourly/0a

Re: crond/anacron

2021-12-11 Thread Ed Greshko
On 11/12/2021 23:48, francis.montag...@inria.fr wrote: Even easier is to use a systemd service and timer (system or user) to start this backup: this will do this locking for you. Needless to say, you are correct.  Need to rewire my old-school brain. -- Did 황준호 die?

Re: crond/anacron

2021-12-11 Thread Ed Greshko
On 12/12/2021 02:44, Patrick Dupre wrote: Thank for all the comments. Francis Montagnac had the best suggestion. -- Did 황준호 die? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.o

Re: crond/anacron

2021-12-11 Thread Patrick Dupre
=== > Sent: Saturday, December 11, 2021 at 5:08 PM > From: "Jonathan Billings" > To: "Community support for Fedora users" > Subject: Re: crond/anacron > > > > > On Dec 11, 2021, at 10:38, Jonathan

Re: crond/anacron

2021-12-11 Thread Jonathan Billings
> On Dec 11, 2021, at 10:38, Jonathan Billings wrote: > > The thing is, Anacron only runs if you boot after the scheduled job is > supposed to run out of cron. It shouldn’t run twice. So maybe you have your > backups scheduled in more than one place? I should be extra clear here - Anacron

Re: crond/anacron

2021-12-11 Thread Francis . Montagnac
Hi On Sat, 11 Dec 2021 23:28:20 +0800 Ed Greshko wrote: > Are you using your own scripts to perform the backups? > If so, the easy solution would be for the script to check for a "lock file" to > see if another backup is running. ... Even easier is to use a systemd service and timer (system or

Re: crond/anacron

2021-12-11 Thread Jonathan Billings
On Dec 11, 2021, at 09:03, Patrick Dupre wrote: > > I am trouble because I guess that crond and anacron > run are very close times. > Hence, they start a backup when another backup is running. > This creates real problems. > > What do you recommend? > Running only crond or only anacron? > Usuall

Re: crond/anacron

2021-12-11 Thread Ed Greshko
On 11/12/2021 22:02, Patrick Dupre wrote: I am trouble because I guess that crond and anacron run are very close times. Hence, they start a backup when another backup is running. This creates real problems. What do you recommend? Are you using your own scripts to perform the backups? If so, t

crond/anacron

2021-12-11 Thread Patrick Dupre
Hello, I am trouble because I guess that crond and anacron run are very close times. Hence, they start a backup when another backup is running. This creates real problems. What do you recommend? Running only crond or only anacron? Usually, this machine runs every day for at least 1-2 hours durin