Unix cron job to alter .txt file outside of webspace
- Status Closed
- Budget $10 - $30 CAD
- Total Bids 31
I have a small .txt file located outside of my webspace (ie... it's not located in /public_html/ on my server) - this text file contains a bunch of switches/tags/settings for my no longer supported forum software (I'm not in a position to find something new right now). It's a small [url removed, login to view] KB file. Among many other very short lines in that text file is the following line:
The number is always either 0 or 1 ... 1 will disable posting abilities on my forum (called "Maintenance Mode"), 0 will enable posting abilities. For some odd reason, and on random days, a cPanel update will trigger this "Maintenance Mode" at approximately 3am. Since it is so random, I sometimes don't realize that nobody can post on my forum until 11-12am. I don't know if the cPanel update is altering this particular file or not, but I do know that changing the line in this file will fix the problem.
What I want from this project is: some sort of cron job that will run at 4am daily and scan this text file - if the "maintenance=" line shows 1, then it automatically changes it back to 0. No other new or existing lines in that text file should be disturbed. No access will be given to my server, nor will details of where that server is - all text/instructions to complete this project must be sent via freelancer private messaging system.Get free quotes for a project like this
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
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online