Developing lightweight computation at the DSG edge

qmp_bmx6_health_patch 205 Bytes
Newer Older
1
2
#!/bin/sh

3
if ! cat /etc/crontabs/root | grep bmx6health; then
p4u's avatar
p4u committed
4
	echo "* * * * * /etc/qmp/bmx6health.sh >> /tmp/log/bmx6health.log" >> /etc/crontabs/root
5
6
7
	/etc/init.d/cron enable
	/etc/init.d/cron start
fi