Browse Source

improve output of cron command with no args

Brett O'Donnell 2 years ago
parent
commit
87e93d3ed0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compose/bin/cron

+ 1 - 1
compose/bin/cron

@@ -1,5 +1,5 @@
 #!/bin/bash
-[ -z "$1" ] && echo "Please specify a CLI command (ex. ls)" && exit
+[ -z "$1" ] && echo "Please specify a service opperation (start|stop|status|restart|reload|force-reload)" && exit
 bin/root service cron "$@"
 bin/root touch /var/www/html/var/.setup_cronjob_status /var/www/html/var/.update_cronjob_status
 bin/root chown app:app /var/www/html/var/.setup_cronjob_status /var/www/html/var/.update_cronjob_status