Niner710 has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone tell me what I am doing wrong and why test.cgi does not write to cron-tab correctly?? I guess this is probably not the safest way to process the data. I've been hearing that I shouldn't write directly to a crontab file. Can anyone tell me an easier way to do this? Thanks!#!/usr/bin/perl use CGI; print "Content-type: text/html\n\n"; open(OUT, ">>/home/jma/Documents/cron-job"); print OUT "blah\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi script write to crontab
by moritz (Cardinal) on May 13, 2008 at 20:25 UTC | |
by Niner710 (Sexton) on May 13, 2008 at 22:38 UTC | |
by moritz (Cardinal) on May 13, 2008 at 22:51 UTC | |
by Niner710 (Sexton) on May 14, 2008 at 00:55 UTC | |
by Niner710 (Sexton) on May 14, 2008 at 03:28 UTC | |
by Niner710 (Sexton) on May 14, 2008 at 15:58 UTC | |
|
Re: cgi script will not write to crontab
by ikegami (Patriarch) on May 13, 2008 at 21:13 UTC | |
|
Re: cgi script will not write to crontab
by pc88mxer (Vicar) on May 13, 2008 at 21:08 UTC |