From: "В.А. Илларионов" <gbimobou@gmail.com> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] Быстрая замена кронтабов на таймеры Date: Fri, 3 Nov 2017 16:25:36 +0800 Message-ID: <de2a9e35-4287-0055-92a9-eb60492eba1d@gmail.com> (raw) In-Reply-To: <9964b69f-1228-cb1a-a6c8-ad798db1f995@basealt.ru> 28.10.2017 13:11, Anton Farygin пишет: > 28.10.2017 05:11, Вадим Илларионов пишет: >> Оформил бы в вики, но, полагаю, имеет смысл как-то унифицировать для >> последующего применения. Может, и впрямь doit поменять на cron или >> timers? >> Во всяком случае, подобного решения не встречал ни в родном, ни в >> иноязычных руководствах. Хотя, вроде бы, само напрашивается. Всё же >> Леннарт гений - почти как Ленин :) >> > Интересное решение. Надо упакечивать Со спеками я работал, но тут поскриптовать при установке надо, и что-то опасаюсь я. В праздники попробую разобраться с этим. > 2. Включил и запустил периодические таймеры: > > for time in minute hour dai week month year; do > > for act in enable start; do > > systemctl $act doit@${time}ly.timer > > done > > done Даже проще: for do in enable start; do systemctl $do doit@${minute,hour,dai,week,month,quarter,semi-annual,year}ly.timer done -- Мимо крокодил. WBR, rednex CIO. Viber = +7(964)103-65-67 JID = <mailto:> Skype = $local_part@<mailto:>
next prev parent reply other threads:[~2017-11-03 8:25 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-10-24 10:23 В.А. Илларионов 2017-10-28 2:11 ` [sisyphus] " Вадим Илларионов 2017-10-28 5:11 ` [sisyphus] " Anton Farygin 2017-11-03 8:25 ` В.А. Илларионов [this message] 2017-11-03 12:14 ` Alexey Shabalin 2017-11-06 3:58 ` Вадим Илларионов
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=de2a9e35-4287-0055-92a9-eb60492eba1d@gmail.com \ --to=gbimobou@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git