The scheduler service now has an interface. Additionally, I updated the Service to hopefully make it a little more robust. Here's whats new: * You can CRUD jobs via the interface. (listjobs screen show the jobs loaded and their next runtime.) * Add crash recovery to the main scheduler thread that processes jobs (untested). If something kills this thread, it should be able to restart. * Added a JobQueue to move a lot of crap out of the Service. * Now uses wait() instead of sleep(). This way if a user adds/deletes/modifies a job it's automatically updated in the running queue. What I still need to do : * Documentation (It's next in my Job queue... haha) How to try it: 1. Updated your database to so it has the Jobentry table. (see either the MySQL_users_permissions.sql OR if you don't want to mess up your current DB, run the jobentrysql.sql 2. Update the WebMacro.properties in conf) file to point to the directory where the scheduler files are living. You can find the webmacro pages in docs/scheduler 3. Make sure the WebMacro.properties file is in your classpath. 4. Start up Turbine. 5. Log in with an account that has user_admin permission. 6. Point the browser to: /screens/scheduler/ListJobs 7. You can test/play wih the scheduler using the DefaultScheduledJob located in the scheduledjobs directory. For more info read the scheduler.txt in docs. I'll be updating the docs and addin a tutorial here in the next few days. Let me know if you have any problems. -- Dave [EMAIL PROTECTED] your flame > /dev/null ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
