-
Notifications
You must be signed in to change notification settings - Fork 91
Conversation
Added support for 'startdate' and 'delay' options to lock command, added support for 'startdate' to driver 'Database'.
Store the optional ttl value temporary as integer to do the calculations later (as before start date/delay support).
* table and column identifiers have to be upper case
add support for Oracle database to database driver
Hi @edrush, I think that feature is too much for that bundle, and too coupled with database. Why did you need to schedule a maintenance? When you want to start a maintenance you are the developer and you know how and when to start it. That bundle is just here to do a simple thing: lock and unlock. We (lexik) wanted to do the same scheduler when we created this bundle, but nobody in our team needs to do that and doesn't want to do that, we need to have the control of what happen on our server, so we decided a scheduler was not a good idea. But thx for your work :) |
Hi @Spike31 , thanks for your answer. Our customer needs this to allow for informing his users about an upcoming lock (e.g. "In 30 minutes ..."). This way, the users have time to finish their work (I think I mentioned this already). Alright. We will then go on working with and using our fork for our application. Hopefully we can merge your upcoming updates, but if not our schedule lock feature will be more important to us. Let's see, we'll try to stay compatible. Thanks for your work, too! ps: In case you think about it again and want support for more drivers I could work on that, and the tests. |
Closes #78.
Works fine for us. With this enhancement you can schedule the maintenance to start after a certain amount of time or at a special date time.
If you'd like to merge this but you want tests to be written (which I'd do if you want to merge) just tell me...
Best regards...
ps: also added slight updates (documentation, spelling, missing message, ...)