Re: convert crontab jobs to systemd timers

2022-04-11 Thread olivares33561 via users
Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Saturday, April 9th, 2022 at 5:46 PM, Mike Wright wrote: > On 4/8/22 05:43, olivares33561 via users wrote: > > > Sent from ProtonMail, encrypted email based in Switzerland. > > > > > > --- Origin

Re: convert crontab jobs to systemd timers

2022-04-09 Thread Mike Wright
On 4/8/22 05:43, olivares33561 via users wrote: Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Friday, April 8th, 2022 at 5:13 AM, Barry Scott wrote: On 7 Apr 2022, at 21:22, olivares33561 via users users@lists.fedoraproject.org wrote: Sent

Re: convert crontab jobs to systemd timers

2022-04-08 Thread Jonathan Billings
On Apr 8, 2022, at 08:43, olivares33561 via users wrote: > > [olivares@fedora user]$ systemctl --user enable poweroff.service If you are editing files in /etc/systemd/system, then take off the “--user” and use sudo when activating the service. Never use sudo in a systemd Exec line unless you

Re: convert crontab jobs to systemd timers

2022-04-08 Thread olivares33561 via users
Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Friday, April 8th, 2022 at 7:43 AM, olivares33561 via users wrote: > > > Sent from ProtonMail, encrypted email based in Switzerland. > > > --- Original Message --- > On Friday, April 8th, 202

Re: convert crontab jobs to systemd timers

2022-04-08 Thread olivares33561 via users
Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Friday, April 8th, 2022 at 5:13 AM, Barry Scott wrote: > > On 7 Apr 2022, at 21:22, olivares33561 via users > > users@lists.fedoraproject.org wrote: > > > > Sent from ProtonMail, encrypted email bas

Re: convert crontab jobs to systemd timers

2022-04-08 Thread Barry Scott
> On 7 Apr 2022, at 21:22, olivares33561 via users > wrote: > > Sent from ProtonMail, encrypted email based in Switzerland. > > > > I am getting closer. > > [olivares@fedora user]$ cat poweroff.service > # /etc/systemd/system/poweroff.service > [Unit] > Description = Poweroff machine at 16

Re: convert crontab jobs to systemd timers

2022-04-07 Thread Mike Wright
On 4/7/22 13:22, olivares33561 via users wrote: Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Thursday, April 7th, 2022 at 3:04 PM, Mike Wright wrote: On 4/7/22 11:53, olivares33561 via users wrote: Sent from ProtonMail, encrypted email b

Re: convert crontab jobs to systemd timers

2022-04-07 Thread olivares33561 via users
Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Thursday, April 7th, 2022 at 3:04 PM, Mike Wright wrote: > On 4/7/22 11:53, olivares33561 via users wrote: > > > Sent from ProtonMail, encrypted email based in Switzerland. > > > > --- Original

Re: convert crontab jobs to systemd timers

2022-04-07 Thread Barry Scott
> On 6 Apr 2022, at 00:43, Ranjan Maitra wrote: > > So sorry to suddenly wake up on this thread, but is cron going away. I use it > all the time, hourly for backups and nightly for updates. > > Many thanks, > Ranjan cron is not going away, but it's got a cryptic syntax and is, in my experien

Re: convert crontab jobs to systemd timers

2022-04-07 Thread Barry Scott
> On 7 Apr 2022, at 19:53, olivares33561 via users > wrote: > > Sent from ProtonMail, encrypted email based in Switzerland. > > > --- Original Message --- > On Wednesday, April 6th, 2022 at 8:09 PM, Tim via users > wrote: > > >> On Tue, 2022-04-05 at 20:18 +, olivares33561 vi

Re: convert crontab jobs to systemd timers

2022-04-07 Thread Mike Wright
On 4/7/22 11:53, olivares33561 via users wrote: Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Wednesday, April 6th, 2022 at 8:09 PM, Tim via users wrote: On Tue, 2022-04-05 at 20:18 +, olivares33561 via users wrote: How can I convert

Re: convert crontab jobs to systemd timers

2022-04-07 Thread olivares33561 via users
Sent from ProtonMail, encrypted email based in Switzerland. --- Original Message --- On Wednesday, April 6th, 2022 at 8:09 PM, Tim via users wrote: > On Tue, 2022-04-05 at 20:18 +, olivares33561 via users wrote: > > > How can I convert a crontab > > # > > [olivares@fedora Download

Re: convert crontab jobs to systemd timers

2022-04-06 Thread Tim via users
On Tue, 2022-04-05 at 20:18 +, olivares33561 via users wrote: > How can I convert a crontab > # > [olivares@fedora Downloads]$ crontab -l > # min hour day-of-month month day-of-week command > # 0-59 0-231-311-12 0-6 0=sun 1=mon > #50 04 * * 1-5 ~/.xalarm >/dev/null 2>&1 > #50 04 * * 0

Re: convert crontab jobs to systemd timers

2022-04-06 Thread Jonathan Billings
On Apr 5, 2022, at 16:19, olivares33561 via users wrote: > > [olivares@fedora Downloads]$ crontab -l > […] > [olivares@fedora Downloads]$ sudo systemctl list-timers I noticed you put your crontab entries in your user crontab, but later looked at system timers. You will want to either use syst

Re: convert crontab jobs to systemd timers

2022-04-06 Thread Mike Wright
On 4/6/22 10:50, olivares33561 via users wrote: I have a crontab file that I use to play some files about 3 minutes before bell rings between classes. I had to install anacron with dnf command. I have seen emails where some folks recommend systemd timers. How can I convert a crontab 25 16 * *

Re: convert crontab jobs to systemd timers

2022-04-06 Thread olivares33561 via users
2 22:02:35 +0100 > > To: olivares33561 olivares33...@protonmail.com, Community support for > > Fedora users users@lists.fedoraproject.org > > Reply-To: Community support for Fedora users users@lists.fedoraproject.org > > Subject: Re: convert crontab jobs to systemd timers >

Re: convert crontab jobs to systemd timers

2022-04-05 Thread Ranjan Maitra
On Tue Apr05'22 10:02:35PM, Barry wrote: > From: Barry > Date: Tue, 5 Apr 2022 22:02:35 +0100 > To: olivares33561 , Community support for > Fedora users > Reply-To: Community support for Fedora users > Subject: Re: convert crontab jobs to systemd timers > >

Re: convert crontab jobs to systemd timers

2022-04-05 Thread Barry
> On 5 Apr 2022, at 21:19, olivares33561 via users > wrote: > > Dear kind Fedora users, > > I have a crontab file that I use to play some files about 3 minutes before > bell rings between classes. I had to install anacron with dnf command. I > have seen emails where some folks recommend

convert crontab jobs to systemd timers

2022-04-05 Thread olivares33561 via users
Dear kind Fedora users, I have a crontab file that I use to play some files about 3 minutes before bell rings between classes. I had to install anacron with dnf command. I have seen emails where some folks recommend systemd timers. How can I convert a crontab # [olivares@fedora Downloads]$ cr