Re: cron.weekly

2023-01-21 Thread Patrick Dupre
Thank Thomas

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Friday, January 20, 2023 at 11:27 PM
> From: "Thomas Cameron via users" 
> To: users@lists.fedoraproject.org
> Cc: "Thomas Cameron" 
> Subject: Re: cron.weekly
>
> You can do this as root or via sudo:
> 
> cd /tmp
> nohup /etc/cron.weekly/myfile &
> 
> You can then close the window. As I understand it, nohup detaches the process 
> from the controlling terminal. See https://phoenixnap.com/kb/linux-nohup for 
> details.
> 
> Thomas
> 
> 
> On 1/20/23 16:24, Patrick Dupre wrote:
> > OK,
> >
> > Thank, but I wanted to run it in background, and be able to close the 
> > windows.
> >
> >
> > ===
> >   Patrick DUPRÉ | | email: pdu...@gmx.com
> >   Laboratoire interdisciplinaire Carnot de Bourgogne
> >   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >   Tel: +33 (0)380395988| | Room# D114A
> > ===
> >
> >
> >> Sent: Friday, January 20, 2023 at 9:30 PM
> >> From: "Thomas Cameron via users" 
> >> To: users@lists.fedoraproject.org
> >> Cc: "Thomas Cameron" 
> >> Subject: Re: cron.weekly
> >>
> >> On 1/20/23 14:07, Patrick Dupre wrote:
> >>> Hello,
> >>>
> >>> I would like to run cron.weekly from a line command immediately.
> >>> How can I do it ?
> >> If the script is /etc/cron.weekly/myfile, then just run
> >>
> >> /etc/cron.daily/myfile
> >>
> >> as root or via sudo.
> >>
> >> Thomas
> >> ___
> >> 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
> >>
> ___
> 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
>
___
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


Re: cron.weekly

2023-01-20 Thread Thomas Cameron via users

You can do this as root or via sudo:

cd /tmp
nohup /etc/cron.weekly/myfile &

You can then close the window. As I understand it, nohup detaches the process 
from the controlling terminal. See https://phoenixnap.com/kb/linux-nohup for 
details.

Thomas


On 1/20/23 16:24, Patrick Dupre wrote:

OK,

Thank, but I wanted to run it in background, and be able to close the windows.


===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988| | Room# D114A
===



Sent: Friday, January 20, 2023 at 9:30 PM
From: "Thomas Cameron via users" 
To: users@lists.fedoraproject.org
Cc: "Thomas Cameron" 
Subject: Re: cron.weekly

On 1/20/23 14:07, Patrick Dupre wrote:

Hello,

I would like to run cron.weekly from a line command immediately.
How can I do it ?

If the script is /etc/cron.weekly/myfile, then just run

/etc/cron.daily/myfile

as root or via sudo.

Thomas
___
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


___
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


Re: cron.weekly

2023-01-20 Thread Patrick Dupre
OK,

Thank, but I wanted to run it in background, and be able to close the windows.


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===


> Sent: Friday, January 20, 2023 at 9:30 PM
> From: "Thomas Cameron via users" 
> To: users@lists.fedoraproject.org
> Cc: "Thomas Cameron" 
> Subject: Re: cron.weekly
>
> On 1/20/23 14:07, Patrick Dupre wrote:
> > Hello,
> >
> > I would like to run cron.weekly from a line command immediately.
> > How can I do it ?
> 
> If the script is /etc/cron.weekly/myfile, then just run
> 
> /etc/cron.daily/myfile
> 
> as root or via sudo.
> 
> Thomas
> ___
> 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
>
___
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


Re: cron.weekly

2023-01-20 Thread Thomas Cameron via users

On 1/20/23 14:07, Patrick Dupre wrote:

Hello,

I would like to run cron.weekly from a line command immediately.
How can I do it ?


If the script is /etc/cron.weekly/myfile, then just run

/etc/cron.daily/myfile

as root or via sudo.

Thomas
___
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


Re: cron.weekly

2023-01-20 Thread Jeffrey Walton
On Fri, Jan 20, 2023 at 3:08 PM Patrick Dupre  wrote:
>
> I would like to run cron.weekly from a line command immediately.
> How can I do it ?

https://gprivate.com/632ow

Jeff
___
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


cron.weekly

2023-01-20 Thread Patrick Dupre
Hello,

I would like to run cron.weekly from a line command immediately.
How can I do it ?

Thank

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988| | Room# D114A
===
___
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


Re: cron.weekly

2013-08-19 Thread Reindl Harald


Am 18.08.2013 12:40, schrieb Frank Murphy:
> By default what day does cron.weekly run.

looking in /etc/anacrontab i would say "at none"
if you need specific cronjobs place them in /etc/crontab or /etc/cron.d/

#period in days   delay in minutes   job-identifier   command
7 25     cron.weekly  nice -n 19 run-parts 
/etc/cron.weekly



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cron.weekly

2013-08-18 Thread poma
On 18.08.2013 12:40, Frank Murphy wrote:
> By default what day does cron.weekly run.
> 
This is a good article,
http://www.thegeekstuff.com/2011/05/anacron-examples/


poma


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cron.weekly

2013-08-18 Thread Ed Greshko
On 08/18/13 18:40, Frank Murphy wrote:
> By default what day does cron.weekly run.
>
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


-- 
Getting tired of non-Fedora discussions and self-serving posts
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


cron.weekly

2013-08-18 Thread Frank Murphy
By default what day does cron.weekly run.

-- 
Regards,
Frank  "When in doubt PANIC!"
 I check for new mail app. 20min
www.frankly3d.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org