User Tools

Site Tools


linux:artikel:script-cron-tidak-jalan-stand-alone-jalan
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


linux:artikel:script-cron-tidak-jalan-stand-alone-jalan [2020/04/18 20:22] (current) – created kbadmin
Line 1: Line 1:
 +====== Script di Cron tidak Jalan, Tapi Langsung / Standalone Jalan ======
 +Jika script anda di crontab tidak jalan tapi ternyata apabila diakses standalone atau langsung dari scriptnya jalan maka solusinya adalah sebagai berikut :
 +
 +tambahkan dibagian atas script crontab anda
 +<code>
 +SHELL=/bin/bash
 +PATH=/sbin:/bin:/usr/sbin:/usr/bin
 +
 +</code>
 +
 +Kemudian pantau log dan pantau apakah script anda sudah berjalan dengan benar.
 +
 +Referensi : https://askubuntu.com/questions/117978/script-doesnt-run-via-crontab-but-works-fine-standalone
  

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/artikel/script-cron-tidak-jalan-stand-alone-jalan.txt · Last modified: 2020/04/18 20:22 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki