From: "Adam T. Bowen" <adamb@agitate.org.uk>
To: "Adrian C." <root@snobu.org>
Cc: jean@completo.com.br, linux-admin@vger.kernel.org
Subject: Re: Emulate(?) the crontab
Date: Wed, 10 Jan 2007 12:43:28 +0000 [thread overview]
Message-ID: <45A4DF70.9070005@agitate.org.uk> (raw)
In-Reply-To: <000301c734b0$37257a80$3801100a@ro.ori.local>
Buy an interstellar-chameleon-monkey, send him back in time to 1970,
where he can impersonate Dennis Richie and insert some code into the C
compiler that will propagate down through time into the latest compilers
used to build Linux and add some code allowing you to edit the inittab file.
Oh, bugger. I forgot. You can't buy interstellar-chameleon-monkeys yet.
Sorry. Scratch that idea.
Adam
Adrian C. wrote:
> I seriously doubt that would work as our guy here is not root, thus the
> question asked.
>
> # ls -l /etc/inittab
> -rw-r--r-- 1 root root 2464 2002-05-07 07:45 /etc/inittab
>
>
> --Adrian
>
>
>
> -----Original Message-----
> From: linux-admin-owner@vger.kernel.org
> [mailto:linux-admin-owner@vger.kernel.org] On Behalf Of Jean M. Bouchara
> Sent: Wednesday, January 10, 2007 13:16 PM
> To: linux-admin@vger.kernel.org
> Subject: Re: Emulate(?) the crontab
>
>
> Put the command in /etc/inittab:
>
>
> ap:3:respawn:/usr/local/bin/my_script.sh
> or
> ap:3:respawn:/bin/su - someuser -c /usr/local/bin/my_script.sh
>
>
>
>> Hello,
>
>> I guess you could run something like this in the background..
>>
>> #!/bin/bash
>> until false
>> do
>> planet.py geek/fancy/config.ini
>> sleep 900
>> done
>> exit 0
>>
>> --Adrian
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-admin"
> in the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
next prev parent reply other threads:[~2007-01-10 12:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-10 11:16 Emulate(?) the crontab Jean M. Bouchara
2007-01-10 12:09 ` Adrian C.
2007-01-10 12:43 ` Adam T. Bowen [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-10 11:05 Adrian C.
2007-01-09 19:33 Mário Gamito
[not found] ` <430c159a0701091142t510790fdkd9c7049ff162f6d3@mail.gmail.com>
2007-01-09 19:47 ` Atishay Kumar
2007-01-09 20:47 ` Jens Knoell
2007-01-09 21:34 ` Benoît Rouits
2007-01-10 0:27 ` terry white
2007-01-10 9:41 ` Adam T. Bowen
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=45A4DF70.9070005@agitate.org.uk \
--to=adamb@agitate.org.uk \
--cc=jean@completo.com.br \
--cc=linux-admin@vger.kernel.org \
--cc=root@snobu.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
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 NNTP newsgroup(s).