| Mavvie | Botje: I doubt that it will even compile with all these limitations of the newer versions of gcc these days. |
| Botje | Mavvie: one way to find out :) |
| Mavvie | (let alone keep my system in a working condition after I installed it) |
| majikman | whats wrong with this? sysopen(DONEFILE, "foobar", O_CREAT, 0600);close(DONEFILE); ? oh, do i have to actually write something to the file for it to be created? |
| buu | Botje: I'm so winning. |
| Botje | winning what? |
| buu | Botje: The war against linux. |
| majikman | ahh... i should proabbly use Fcntl... how ar eyou winning the war against linux? |
| jagerman | He uses Windows 95 |
| Botje | .. and likes it. |
| jagerman | Or at least pretends to. |
| Botje | but secretly has the hots for OS/2? |
| majikman | is this still valid for modern *nix systems? "On many UNIX systems, fdopen() is known to fail when file descriptors exceed a certain value, typically 255. " i thought it was at least 1024 and usually higher |
| jagerman | majikman: 1024 is typical |
| Botje | majikman: unless your spawning hundreds of processes, don't fret about it |
| jagerman | my ulimit -n shows 1024 |
| Botje | *you're i'll get me coat. |
| Caelum | GumbyBRAIN: give Botje a good coat of pink |
| GumbyBRAIN | I like the way i thought these files where on my site where the information is all of the same name then i can't sell you my coat. |
| Botje | GumbyBRAIN: I believe Caelum needs teh pink harder. |
| GumbyBRAIN | needs to be my favorite is this easier, it's harder to get a much more comfortable to me on my site where the use of force is restricted to the right direction. |
| userwaldo | i have a perl script that sends an email. the script works fine when run from the command line, but when I try to run it as a cron job, it doesn't send the mail |
| ScribbleJ | Are you certain it runs? |
| userwaldo | the script is faily simple and all the other tasks work from cron, except the sending of an email. |
| Caelum | userwaldo: the environment is different in cron, things like PATH etc. How are you sending the email? |
| userwaldo | Caelum: using sendmail maybe sendmail isn't in the path |
| Caelum | userwaldo: can it find sendmail in PATH? try using the full path |
| userwaldo | ok i'll look into that thanks for the idea using the hard coded path didn't work either :-( I've tried using print to give me debugin, but I don't sny output from cron, and my log file is empty |
| perlsyntax | :) |
| xtlosx | hey if i put the terminal in ReadMode('noecho'); how can i turn it back to echo mode, i couldn't find it in perldoc -q ask |