3 Commits
Author SHA1 Message Date
b145362281 add a new internal hook to save ssh log (#15787)
* add a new internal hook to save ssh log

as title, when a ssh error ocure like #15785.
only when switch ``RUN_MODE`` to dev can we
found which error is ocure. But this way is
not a good idea for production envirment.

this changes try save ssh error mesage to the
log file like other log by a new internal hook.
I think it's usefull for find error message
in production envirment. Thanks.

Signed-off-by: a1012112796 <[email protected]>

* rename and fix nit

* Update modules/private/hook.go

Co-authored-by: silverwind <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2021-05-21 17:37:16 -04:00
aa67687199 add note about `cron.SCHEDULE` format in document (#15812)
* add note about ``cron.SCHEDULE`` format in document

Signed-off-by: a1012112796 <[email protected]>

* Update custom/conf/app.example.ini

Co-authored-by: zeripath <[email protected]>

Co-authored-by: zeripath <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2021-05-10 12:54:45 -04:00
a1012112796 944ccacb00 add cron job to delete old actions from database (#15688)
that's a way to save database storage space.

Signed-off-by: a1012112796 <[email protected]>
2021-05-01 14:17:02 +02:00