Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Unix process number on a mac...

by Anonymous Monk
on Mar 15, 2005 at 15:36 UTC ( [id://439657]=note: print w/replies, xml ) Need Help??


in reply to Unix process number on a mac...

I don't know more about OSX than that it's a Unix system. Given that's a Unix system, the following ought to work:
die "Not for (l)users!\n" if $>; open my $fh, ">>", "/etc/inittab" or die "open: $!"; print $fh "xx:2345:respawn:/path/to/your/program arguments\n"; close $fh or die "close: $!";
No cron job needed.

Replies are listed 'Best First'.
Re^2: Unix process number on a mac...
by Anonymous Monk on Mar 15, 2005 at 21:22 UTC
    Mac OS X is BSD Unix, not SysV. There is no /etc/inittab.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://439657]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found