#perl - Thu 5 Apr 2007 between 22:58 and 23:29

NY Lost Funds



MavvieBotje: I doubt that it will even compile with all these limitations of the newer versions of gcc these days.
BotjeMavvie: one way to find out :)
Mavvie(let alone keep my system in a working condition after I installed it)
majikmanwhats 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?
buuBotje: I'm so winning.
Botjewinning what?
buuBotje: The war against linux.
majikmanahh... i should proabbly use Fcntl...
how ar eyou winning the war against linux?
jagermanHe uses Windows 95
Botje.. and likes it.
jagermanOr at least pretends to.
Botjebut secretly has the hots for OS/2?
majikmanis 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
jagermanmajikman: 1024 is typical
Botjemajikman: unless your spawning hundreds of processes, don't fret about it
jagermanmy ulimit -n shows 1024
Botje*you're
i'll get me coat.
CaelumGumbyBRAIN: give Botje a good coat of pink
GumbyBRAINI 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.
BotjeGumbyBRAIN: I believe Caelum needs teh pink harder.
GumbyBRAINneeds 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.
userwaldoi 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
ScribbleJAre you certain it runs?
userwaldothe script is faily simple and all the other tasks work from cron, except the sending of an email.
Caelumuserwaldo: the environment is different in cron, things like PATH etc. How are you sending the email?
userwaldoCaelum: using sendmail
maybe sendmail isn't in the path
Caelumuserwaldo: can it find sendmail in PATH?
try using the full path
userwaldook 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:)
xtlosxhey 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

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive

NY Lost Funds