Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Unix process number on a mac...

by Anonymous Monk
on Mar 15, 2005 at 15:36 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-01-19 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?