"!christian" <seraphim76rhino@comcast.net> wrote:
> <?
> passthru("/sbin/ifconfig > test.dat");
> passthru("cat test.dat | mail -s \"My Lost IP\" you@your.domain");
> ?>
>
> You don't have to fool with over writing your crontab this way.
Now that I'm fully awake: Yes, you're correct. In fact the above can
be further condensed to:
<?
passthru("/sbin/ifconfig | mail -s \"My Lost IP\"
you@your.domain");
?>
UUoC
--
George Georgakis-geeg AT tripleg net au-http://www.tripleg.net.au/
SlackBuild Central -
http://slackpack.tripleg.net.au/