in reply to Re: executing "at" from perl
in thread executing "at" from perl
My option number 3 does not work:
The session file is created, the job shows up in atq, but it fails silently. It's the 'silently' part that is most maddening. Hm maybe I should direct errors somewhere..but the apache user isn't in /etc/at.deny, and indeed I forced a shell on the user and it worked okay--I thought cdarke might be on to something :-)system "echo rm $session_file | at now + 1 minute";
gmargo: I hear you loud and clear. I think I'm going to check out moritz suggestion and check out CGI::Session. However, in this case I'm putting in the 'at' right after creating the session file, so at least it isn't from user input. So I *presume* it's okay, but yeah, I'll check out CGI::Session :-). I hear ya loud and clear, and appreciate the input.
Really now it just bugs me that I don't know why it fails.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: executing "at" from perl
by rastoboy (Monk) on Nov 17, 2009 at 06:04 UTC | |
by rastoboy (Monk) on Nov 17, 2009 at 10:22 UTC | |
by gmargo (Hermit) on Nov 17, 2009 at 13:18 UTC |