Loading ...
Sorry, an error occurred while loading the content.

66829Re: Crontab entry from perl

Expand Messages
  • Badai Aqrandista
    Sep 5, 2005
      >>I want to schedule a perl script in crontab using a CGI script. If i try
      >>append in the file ie /var/spool/cron/username then apache user does not
      >>have rights to modify this. If i give root rights to apache then it could
      >>be very harmful . how can i make entry into cron from script.
      >You could have the CGI write out a file in /tmp or other and then have a
      >permenant root run cron or trivial dameon poll this file and add to a users
      >crontab based on the contents.
      >I don't see what this has to do with modperl though :)

      or roll your own cron:


      Badai Aqrandista
      Cheepy (?)

      SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
    • Show all 3 messages in this topic