cron: add more common patterns

This commit is contained in:
Girish Ramakrishnan
2022-05-20 10:18:11 -07:00
parent 58b4a11546
commit 55bc6f6cca
4 changed files with 13 additions and 4 deletions
+5 -1
View File
@@ -1026,7 +1026,11 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
{ value: '*/30 * * * *', label: $translate.instant('app.cron.commonPattern.twicePerHour') },
{ value: '0 0 * * *', label: $translate.instant('app.cron.commonPattern.everyDay') },
{ value: '0 */12 * * *', label: $translate.instant('app.cron.commonPattern.twicePerDay') },
{ value: '0 0 * * 0', label: $translate.instant('app.cron.commonPattern.everySunday') }
{ value: '0 0 * * 0', label: $translate.instant('app.cron.commonPattern.everySunday') },
{ value: '@daily', label: $translate.instant('app.cron.commonPattern.daily') },
{ value: '@hourly', label: $translate.instant('app.cron.commonPattern.hourly') },
{ value: '@service', label: $translate.instant('app.cron.commonPattern.service') }
],
crontab: '',