From: "Clément Lassieur" <clement@lassieur.org>
To: ng0 <ng0@pragmatique.xyz>
Cc: help-guix@gnu.org
Subject: Re: mcron job with cd to directory?
Date: Wed, 17 May 2017 23:01:03 +0200 [thread overview]
Message-ID: <87d1b7fbao.fsf@lassieur.org> (raw)
In-Reply-To: <20170517201513.n7okibmk45uujo2k@abyayala>
ng0 <ng0@pragmatique.xyz> writes:
> Ludovic Courtès transcribed 0.9K bytes:
>> Something like:
>>
>> #~(job '(next-hour '(4))
>> (lambda ()
>> (chdir …)
>> (system* …)))
>>
>> See <https://www.gnu.org/software/guix/manual/html_node/Scheduled-Job-Execution.html>.
>>
>> Ludo’.
>>
>
> Thanks! This fixed at least the respawn-death of mcron. Now I just have to
> see if it does what I want.
I have found the '--schedule' option of mcron very useful for debugging.
Maybe it'll help you to see if it does what you want.
> But it's good to know that it is that easy.
prev parent reply other threads:[~2017-05-17 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 13:12 mcron job with cd to directory? ng0
2017-05-17 20:04 ` Ludovic Courtès
2017-05-17 20:15 ` ng0
2017-05-17 21:01 ` Clément Lassieur [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d1b7fbao.fsf@lassieur.org \
--to=clement@lassieur.org \
--cc=help-guix@gnu.org \
--cc=ng0@pragmatique.xyz \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).