Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Cron Job manipulation through Web Page

Reply
Thread Tools

Cron Job manipulation through Web Page

 
 
siddhartha mulpuru
Guest
Posts: n/a
 
      08-11-2004
On a given UNIX systems there is a CRONTAB with CRON entries. I would
like to develop a web page that would Display the entries, allow
Editing of an entry, allow searching for a specific entry in CRON for
a given USERID and Password. The returned page for each entry must
display the page in "laymens" english, not cryptically as found in
CRON (In other words a conversion must take place to and from the
format in CRON)

I wanted to know if anyone did something similar or had ideas about
how this could be implemented.


Thanks a lot for your time

Sid
 
Reply With Quote
 
 
 
 
Clyde Ingram
Guest
Posts: n/a
 
      08-11-2004
Siddharta,

"siddhartha mulpuru" <> wrote in message
news: om...
<SNIP>
> I wanted to know if anyone did something similar or had ideas about
> how this could be implemented.


Yes - I have tackled adding, deleting, and modifying a specific subset of
crontab entries for scheduling particular applications.
The front end was HTML & JavaScript, controlled by a CGI program (using
Lincoln Stein's CGI.pm, naturally) to manage several databases -- including
crontab.
Interesting problems included the usual bread-and-butter issues of
concurrent access (by multiple networked clients), file locking, cookies,
etc.

On the topic of the crontab format, I simpified matters by only letting the
user choose between daily, weekly, and monthly scheduling -- nothing more
powerful was necessay at the time. Also, my application managed its private
database including user specified schedules (hour:minute; day-or-week (if
weekly) or day-of-month (if monthly)). So the application never needed to
read or analyse or validate timing info from a raw crontab entry, merely
overwrite the crontab entry with the latest changes in its database, as
received via CGI. An unsophisticated and fairly common-place project.

How about you? Have you encountered any specific Perl (rather than CGI
authoring or database) problems that this news group might be happy to get
its teeth into? Without details, it is hard to know where to point you, but
you may get great value by starting with any of these:

http://www.stonehenge.com/merlyn/columns.html
http://stein.cshl.org/~lstein/
http://stein.cshl.org/WWW/CGI/

Regards,
Clyde


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equiv of a CRON job? Andrew Banks ASP .Net 8 07-30-2012 07:03 AM
cron job times out Nikola Skoric Python 0 11-24-2006 06:50 PM
Cron Job through Perl Bob Anastasia Perl Misc 1 06-26-2006 07:03 PM
shell script for running as a weekly cron job NOSPAM@NOSPAM.invalid.com NZ Computing 9 12-13-2004 12:26 AM
cron manipulation using perl siddhartha mulpuru Perl Misc 4 09-18-2004 12:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57