Closed

Modify CRONed PERL-code to daemon

This project was awarded to betaru for $25 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$10-$30 USD
Total Bids
9
Project Description

I have a PERL script, which analyzes [url removed, login to view] from squid, and puts some traffic info into a RRD-db. And enables/disables a user, in case his traffic limit is exceeded.
This working script is started using a CRON job, once a minute. However, the script uses quite some CPU. Now I want this script to be run like a daemon, avoiding all upstart overhead. And only reading a config-file once. Also, some state info actually is kept in a state file, re-opened on every start by CRON, which might be avoided when being run as a daemon.
So, no functional changes to be done; only one more startup-parameter added and included in config-file: re-schedule interval in seconds.
Additional suggestions for some optimizations are welcome.
As this is a nice-to-have project, I will not spend more than 30$ for this job.
Qualified bidders will receive the src code of the PERL script, to refine/remove their bids.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online