[ask] menambahkan crontab melalui ssh


Status
Not open for further replies.

alexistdev

Expert 1.0
lha???
crontab -e itu untuk masuk ke editor cron.. bukan nambahin di baris cron

brarti commandnya:
#crontab -u u8468930 -e

kemudian
paste cronnya ya pak?
0 0 * * * cd "/home/username/public_html/app/" && ./Console/cake Cron daily >/dev/null 2>&1

terus enter atau bagaimana pak?
 

dhyhost

Web Hosting Service
The Warrior
Verified Provider
brarti commandnya:
#crontab -u u8468930 -e

kemudian
paste cronnya ya pak?
0 0 * * * cd "/home/username/public_html/app/" && ./Console/cake Cron daily >/dev/null 2>&1

terus enter atau bagaimana pak?

tekan ctrl+x terus y dan enter :D
 

Bestariweb Hosting

Hosting Guru
The Warrior
Verified Provider
brarti commandnya:
#crontab -u u8468930 -e

kemudian
paste cronnya ya pak?
0 0 * * * cd "/home/username/public_html/app/" && ./Console/cake Cron daily >/dev/null 2>&1

terus enter atau bagaimana pak?
boleh tanya gak? tanda # sebelum crontab itu buat apa ya?
 

alexistdev

Expert 1.0
tekan ctrl+x terus y dan enter :D

kayak stuck gitu pak gimana ya?

boleh tanya gak? tanda # sebelum crontab itu buat apa ya?
# maksudnya prompt root om

betul Mbak Nina


saya coba lewat cpanel bukan whm hasilnya spt ini saat crontab -u u8468930 -e

SHELL="/usr/local/cpanel/bin/jailshell"
0 0 * * * cd "/home/u8468930/public_html/app/" && ./Console/cake Cron daily >/dev/null 2>&1

tapi tetep ga berfungsi ya?
 
Last edited:

Bestariweb Hosting

Hosting Guru
The Warrior
Verified Provider
kayak stuck gitu pak gimana ya?




betul Mbak Nina


saya coba lewat cpanel bukan whm hasilnya spt ini saat crontab -u u8468930 -e



tapi tetep ga berfungsi ya?
kalo cpanel, tambahin di cronjob user cpanel aja.. jgn di cron punya root
di menu cpanel kan ada
 
Status
Not open for further replies.

Top