Create a cron to restart CPanel if down?

iHost.net.nz

Well-Known Member
Aug 6, 2004
68
0
156
Yeah.. my CPanel crashes (everyday)..

No ones gonna help me so theres only one thing i can do right now :(

... that is.. setup crons to restart it if it crashes.. :eek:
 

djmerlyn

Well-Known Member
Aug 31, 2004
201
1
168
hmm...I'm confused...

If Cpanel crashes, will crons run? I suppose they would...but maybe it would be better to fix the crons that keep it running in the first place rather then make-shift a cron "patcH"

but I would assume something stupid like

#/bin/sh
service cpanel start
exit

would probably suffice for a cron? I'm not going to spend time restarting my box to test a script for it for you...but, just doesn't seem like a logical solution to the root problem...

hmmm...
 
Last edited: