Re: cron.weekly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank Thomas

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 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" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Cc: "Thomas Cameron" <thomas.cameron@xxxxxxxxxxxxxxx>
> 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: pdupre@xxxxxxx
> >   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" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> >> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> >> Cc: "Thomas Cameron" <thomas.cameron@xxxxxxxxxxxxxxx>
> >> 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@xxxxxxxxxxxxxxxxxxxxxxx
> >> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> >> 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@xxxxxxxxxxxxxxxxxxxxxxx
> >> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
> >>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux