Langsung ke konten utama

Postingan

Menampilkan postingan dengan label cronjob

How To Write A Cronjob With Bash Scripting

How To Write A Cronjob With Bash Scripting . Run the following to see if the cronjob you've defined actually runs. In most of linux system, we must get a permission of system administrator before defining a spesific cron job that is listed on crontab. cron How to execute script shell in cronjob Stack Overflow from stackoverflow.com While this is possible with cron i suggest using an at job instead. $ sudo echo 0 10 * * * sudo /home/test.sh >/dev/null 2>&1 >> cron_bkp. Cron is executing this script on your behalf, so it’s up to you to secure it.