By way of background: I'm creating a rota for volunteers to cover an hour of duty each, covering four hours each evening in total. My plan is to use a 'page' for each hour, allow people to log in, see what is covered and what's still needed (simple listing, really), and assign themselves to individual hours (databound form, should be fairly straightforward). The 'pages' then become the record of what hours are covered / available. I'd keep 3 months worth of pages on the site at any one time.
So on about the 28th of each month, I'll need to add the hours for a new month (adding April in December, for example) ; and then on about the 3rd delete the month which has just passed.
I'm not quite clear how to do this bulk add / delete operation. I'm expecting to use a cron job on the server and call a PHP file, which can of course (and ideally should) be a Couch page. What's the best way of doing this?
So on about the 28th of each month, I'll need to add the hours for a new month (adding April in December, for example) ; and then on about the 3rd delete the month which has just passed.
I'm not quite clear how to do this bulk add / delete operation. I'm expecting to use a cron job on the server and call a PHP file, which can of course (and ideally should) be a Couch page. What's the best way of doing this?