mirror of
https://github.com/kikito/cron.lua.git
synced 2024-12-19 18:34:20 +00:00
added special fields to cron table
This commit is contained in:
parent
b0127a3f14
commit
4e973f7a60
35
cron.lua
35
cron.lua
@ -1,15 +1,30 @@
|
|||||||
-----------------------------------------------------------------------------------------------------------------------
|
local cron = {
|
||||||
-- cron.lua - v1.2.1 (2012-10)
|
__VERSION = 'cron.lua 2.0.0',
|
||||||
-- Enrique García Cota - enrique.garcia.cota [AT] gmail [DOT] com
|
__DESCRIPTION = 'Time-related functions for lua',
|
||||||
-- time-related functions for Lua.
|
__URL = 'https://github.com/kikito/cron.lua',
|
||||||
-- inspired by Javascript's setTimeout and setInterval
|
__LICENSE = [[
|
||||||
-----------------------------------------------------------------------------------------------------------------------
|
Copyright (c) 2011 Enrique García Cota
|
||||||
|
|
||||||
-- Copyright (c) 2011 Enrique García Cota
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
copy of this software and associated documentation files (the
|
||||||
-- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
"Software"), to deal in the Software without restriction, including
|
||||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
|
||||||
-- Private functions
|
-- Private functions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user