[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-admin
Subject: Re: Emulate(?) the crontab
From: "Adam T. Bowen" <adamb () agitate ! org ! uk>
Date: 2007-01-10 12:43:28
Message-ID: 45A4DF70.9070005 () agitate ! org ! uk
[Download RAW message or body]
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
>>
>
>
-
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic