Quantcast
Channel: VMware Communities : Popular Discussions - VI: VMware ESX® 3.0
Viewing all articles
Browse latest Browse all 60069

cron task help

$
0
0

 

Hi!

 

 

 

 

 

I need to automate a reboot of my esxi server and red about to fix that in /etc/crontask.

 

 

My problem is that when I have edit the /etc/crontask and saved it and then reboot the server, thoes "crontask" disappear from /etc/.

 

 

why? how do i fix it? (im logged in as root)

 

 

my script is like this

 

 

crontask

 

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/


05 22 * * 6 root run-parts /etc/cron.weekly

*cron.weekly* rebootBR

R 

 

 

 

 


Viewing all articles
Browse latest Browse all 60069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>