Commit Graph

74 Commits

Author SHA1 Message Date
John Guo
6df0a9ca66
fix: the cron job with precise second time pattern might be executed twice in the same time (#3437) 2024-03-28 22:09:11 +08:00
John Guo
5307f0742e
add # for cron pattern that can ignore seconds, which makes the cron pattern running in minimum minute like linux crontab pattern (#3306) 2024-02-07 15:38:24 +08:00
HaiLaz
5083174a92
fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
John Guo
117fc6eda2
fix issue #2339 (#2433) 2023-02-08 19:08:10 +08:00
John Guo
ae4f14c2e2
add LevelPrint configuration for glog.Logger; add package internal/instance for grouped instance management feature; add default logger for panic message printing if no logger set in gcron.Cron (#2388)
* improve logging feature, add LevelPrint configuration for glog.Logger; add package internal/instance

* improve command build

* add default logger for panic message printing if no logger set

* up

* fix scheduler when timer triggers in less than one second for package gcron

* up
2023-01-06 14:15:30 +08:00
John Guo
31e44062a8
revert from int64 to int for returning value of Count (#2378)
* revert from int64 to int for returning value of Count

* up

* up

* up
2022-12-30 16:54:43 +08:00
HaiLaz
bc8ca912ce
fix: gcron check if the predefined patterns fail (#2288) 2022-11-10 19:59:09 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
John Guo
714bda3e0f
remove noisy internal logging content of package gcron (#2141) 2022-09-23 20:50:25 +08:00
John Guo
b7794a8783
use method name as its command name if no name defined in Meta of input struct for package gcmd (#2019) 2022-07-19 16:30:00 +08:00
John Guo
98b2e8ab18
improve panic...recover of exit feature for package ghttp/gtimer/gfsnotify (#2000) 2022-07-13 20:20:38 +08:00
John Guo
dd7caea910
fix UT issue for package gcron (#1992) 2022-07-12 09:55:46 +08:00
John Guo
f876a56d2a
some improves for ci yaml and package cmd/gf, database/gdb (#1972) 2022-07-07 21:16:26 +08:00
John Guo
047c90466d
improve UT for package gcron (#1966) 2022-07-04 21:18:20 +08:00
John Guo
2bcd6c4771
add full week/month name support for pattern, add seconds fix feature in some delay seconds for package gcron (#1960) 2022-07-01 09:53:01 +08:00
John Guo
2c169e2330
improve package glog; fix issue in package gtrace (#1952) 2022-06-28 15:47:16 +08:00
John Guo
cbff244d88 improve package gcron 2022-05-09 21:45:57 +08:00
John Guo
2e405342ca improve package gcron 2022-05-09 21:42:50 +08:00
John Guo
619e256138 improve package gcron/gtimer 2022-01-20 15:53:16 +08:00
John Guo
033e2c1d78 fix issue in rules of gmeta.Meta for package gvalid 2022-01-18 15:43:12 +08:00
John Guo
cafd9098d7 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-22 22:22:42 +08:00
John Guo
65e1048715 improve package gcron 2021-12-02 20:05:29 +08:00
John Guo
9ed6ebbcff
Merge pull request #1384 from kingeasternsun/processconflict
feat(fix bug , add nexttime feature):
2021-12-02 19:50:01 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
b664982be3 [feature] improve code gfile gcfg 2021-11-15 20:26:31 +08:00
kingeasternsun
14b7c591d0
fix "github.com/gogf/gf/v2/test/gtest" 2021-11-09 16:25:44 +08:00
kingeasternsun
72043d0657
Merge branch 'gogf:master' into processconflict 2021-11-09 16:11:07 +08:00
John Guo
c0c68d1e46 rename Println -> Print for package glog 2021-10-30 20:47:38 +08:00
John Guo
e22e1d0e4a remove function Println from package glog 2021-10-30 19:44:22 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +08:00
kingeasternsun
e21bd9b4cb
Update gcron_schedule.go 2021-10-27 10:44:28 +08:00
kingeasternsun
ded94276a8
Merge branch 'master' into processconflict 2021-10-27 10:33:36 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
750972e7c6 fix unit testing cases 2021-09-28 19:04:36 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
kingeasternsun
cfc1f8fbe4 use english doc 2021-09-17 09:27:31 +08:00
kingeasternsun
a72493f320 Merge branch 'master' into processconflict 2021-09-16 11:32:54 +08:00
kingeasternsun
0d9d7b8e04
Merge branch 'gogf:master' into master 2021-09-16 11:31:38 +08:00
John Guo
68e760d13a fix issue @1380 2021-09-15 21:17:45 +08:00
kingeasternsun
a6c9a7a944 fix test 2021-09-03 19:35:19 +08:00
kingeasternsun
e782facdf3
Merge branch 'gogf:master' into master 2021-09-03 14:39:58 +08:00
John Guo
46bf669cdd Merge branch 'master' of https://github.com/gogf/gf 2021-08-27 20:16:41 +08:00
John Guo
fa7a3e987d improve With feature for package gdb 2021-08-27 20:16:29 +08:00
kingeasternsun
b9a07b104a
Update gcron_schedule_test.go
add test to slash template parse
2021-08-26 10:58:54 +08:00
kingeasternsun
c7b379e53f
Merge branch 'master' into processconflict 2021-08-26 09:33:23 +08:00
John
e0a3233ea3 improve package gcron 2021-08-26 00:11:27 +08:00
kingeasternsun
ac73851f78
Merge branch 'master' into processconflict 2021-08-25 09:28:04 +08:00
John Guo
66b8b591df fix issue in missing import for package gcode 2021-08-24 21:31:15 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00