Job Viewer - nivinm/freenas GitHub Wiki
I have about 15 cron jobs running doing various tasks. Most are set to only email if there is a failure. In order to quickly find out if a job succeeded I wanted to create a web page that would pull from a mysql table. There are a few things to do in order to setup your jail, I will be using the same clamav_1 jail that I created before.
###Install Apache pkg install apache24
echo 'apache24_enable="YES"' >>/etc/rc.conf
service apache24 start
###Install MySQL pkg install mysql56-server
echo 'mysql_enable="YES"' >>/etc/rc.conf
service mysql-server start
mysql_secure_installation
###Install PHP pkg install mod_php56 php56-mysql php56-mysqli
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
rehash
###Download DataTables wget http://datatables.net/releases/DataTables-1.10.9.zip
mkdir /usr/local/www/apache24/data/includes
unzip DataTables-1.10.9.zip -d /usr/local/www/apache24/data/includes