ls -la /etc/cron.weekly/

drwxr-xr-x.   2 root root  4096 Jun 22 16:14 .
drwxr-xr-x. 248 root root 20480 Jun 22 16:04 ..
-rwxr-xr-x.   1 root root  1685 Jun  8 16:17 backup3
-rwxr-xr-x.   1 root root  3563 Jun  8 16:36 backup.cron
-rwxr-xr-x.   1 root root  3561 Jun  6 22:55 backup.cron.saved


Good, it seems that (during the update?), a backup.cron.saved has been created.
I guess that I can just moved to backup.cron_saved


> Sent: Saturday, June 22, 2024 at 4:25 PM
> From: "Doug Herr" <fedoraproject....@wombatz.com>
> To: "Fedora Users" <users@lists.fedoraproject.org>
> Cc: "Patrick Dupre" <pdu...@gmx.com>
> Subject: Re: crond
>
> On Sat, Jun 22, 2024, at 7:17 AM, Patrick Dupre via users wrote:
> > Hello,
> >
> > I have a backup launched by cron.weekly
> > However, since F40, after it has run a first time and ended, another backup
> > is started. This messed up the backup.
> >
> > When starting, the first crond
> > sent
> > (ps -aux | grep -i backup | mail -s Backup root@localhost.localdomain)
> > root       19672  0.0  0.0 228476  3136 ?        S    12:29   0:00
> > /bin/sh /etc/cron.weekly/backup.cron
> [snip]
> > and the second one
> >
> > root       29787  0.0  0.0 228476  3260 ?        S    14:55   0:00
> > /bin/sh /etc/cron.weekly/backup.cron.saved
>
>
> If you run:
>
> ls -la /etc/cron.weekly/
>
> I think you will find a "regular" and a ".saved" copy of your cron script.
>
>
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to