mirror of
https://github.com/strongdm/comply
synced 2025-12-06 06:14:09 +00:00
switch cron to 6-figure expressions. introduce hashes by tab.
This commit is contained in:
@@ -22,7 +22,7 @@ const websocketReloader = `<script>
|
||||
ws.onclose = function(e) {
|
||||
// reload!
|
||||
if (connected) {
|
||||
window.location=window.location
|
||||
window.location.reload(true)
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
||||
@@ -98,6 +98,8 @@ func TriggerScheduled() error {
|
||||
}
|
||||
|
||||
func trigger(procedure *model.Procedure) {
|
||||
fmt.Printf("triggering procedure %s (cron expression: %s)\n", procedure.Name, procedure.Cron)
|
||||
|
||||
// TODO: don't hardcode GH
|
||||
tp := model.GetPlugin(model.GitHub)
|
||||
tp.Create(&model.Ticket{
|
||||
|
||||
Reference in New Issue
Block a user