Re: [semi-OT] crontab -> csv
On Thu, Feb 28, 2002 at 10:45:02PM +0100, Stefan Klein wrote:
> Hallo,
>
> ich bin auf der Suche nach einem (Perl-)script welches mir aus einem
> Crontabeintrag z.B.:
>
> 2,4 0,15 * * * root /bin/hier
>
>
> 2;0;*;*;*;root;/bin/hier
> 2;15;*;*;*;root;/bin/hier
> 4;0;*;*;*;root;/bin/hier
> 4;15;*;*;*;root;/bin/hier
perl -ne 'print join ";", split " ", $_, 7'
Best regards from Dresden
Viele Gruesse aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN --------------------- internet & unix support -
<a href="http://debian.schlittermann.de/"> Debian 2.x CD </a>
Heiko Schlittermann HS12-RIPE finger:heiko@schlittermann.de -
pgp: A1 7D F6 7B 69 73 48 35 E1 DE 21 A7 A8 9A 77 92 -------
gpg: CC19 0FE2 073B AEA1 5C11 37DD 347D 73DC FF56 BA6D -----
Reply to: