Skip to content

Commit 9f50f28

Browse files
committed
Expand check demo mode for cronjobs.
1 parent a49e416 commit 9f50f28

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bin/v-unsuspend-cron-job

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ is_object_valid 'user' 'USER' "$user"
3232
is_object_valid 'cron' 'JOB' "$job"
3333
is_object_suspended 'cron' 'JOB' "$job"
3434

35+
# Perform verification if read-only mode is enabled
36+
check_hestia_demo_mode
37+
3538

3639
#----------------------------------------------------------#
3740
# Action #

bin/v-unsuspend-cron-jobs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ check_args '1' "$#" 'USER [RESTART]'
2929
is_format_valid 'user'
3030
is_object_valid 'user' 'USER' "$user"
3131

32+
# Perform verification if read-only mode is enabled
33+
check_hestia_demo_mode
34+
3235

3336
#----------------------------------------------------------#
3437
# Action #

0 commit comments

Comments
 (0)