Running a simple shell script as a cronjob

后端 未结 5 1775
伪装坚强ぢ
伪装坚强ぢ 2020-12-16 11:57

I have a very simple shell script I need to run as a cronjob but I can\'t get even the test scripts to run. Here\'s and example script:

/home/myUser/scripts/test.sh<

5条回答
  •  旧时难觅i
    2020-12-16 12:16

    It should run properly at cron also. Please check below things.

    1- You are editing proper file to set cron.

    2- You have given proper permission(execute permission) to script mean your script is executable.

提交回复
热议问题