Preparations
- login to the Admin Console
- go to Configuration → Website → Scheduled Tasks
Testing validation
- test Minute field validation:
- open any scheduled task for editing
- put values 0, 1, 47, 2-7, */5, and 59 into a Minute field
- save changes
- confirm, that no validation error happened
- put values 60, and 75 into a Minute field
- save changes
- confirm, that the validation error happened
- test Hour field validation:
- open any scheduled task for editing
- put values 0, 7, 4-15, */5, and 23 into an Hour field
- save changes
- confirm, that no validation error happened
- put values 60, and 75 into an Hour field
- save changes
- confirm, that the validation error happened
- test Day field validation:
- open any scheduled task for editing
- put values 1, 12, 3-8, */2, and 30 into a Day field
- save changes
- confirm, that no validation error happened
- put values 60, and 75 into a Day field
- save changes
- confirm, that the validation error happened
- test Month field validation:
- open any scheduled task for editing
- put values 1, FEB, 5-7, */2, and 12 into a Month field
- save changes
- confirm, that no validation error happened
- put values 60, and 75 into a Month field
- save changes
- confirm, that the validation error happened
- test Weekday field validation:
- open any scheduled task for editing
- put values 3, FRI, 2-5, */2, and 6 into a Weekday field
- save changes
- confirm, that no validation error happened
- put values 60, and 75 into a Weekday field
- save changes
- confirm, that the validation error happened
Testing next run date
- open any scheduled task for editing
- clear the Next Run On field
- set cron expression from the below list (try each one):
- once a minute
- once an hour
- once a day
- once a month
- once a week
- save changes
- open changed record for editing
- confirm, that Next Run On was calculated correctly