ESXi | cron

echo “1 * * * * /bin/do_that_shit” >> /var/spool/cron/crontabs/root echo “# E N D #” >> /var/spool/cron/crontabs/root kill -9 $(cat /var/run/crond.pid) /usr/lib/vmware/busybox/bin/busybox crond

writing to a pipe by a script started via cron

You run into trouble? Your script started by cron and stdout to a pipe behaves strange? (Pipe made by ‘mknod /var/pipes/mypipe p’.) [ * * * * * myscript.sh > /var/pipes/mypipe ] Solution: You have to read from this pipe, by a process or by hand. [tail -f /var/pipes/mypipe]