help to execute the command

Support and queries relating to all previous versions of ZoneMinder
Locked
rsadanan
Posts: 46
Joined: Fri Mar 31, 2006 2:05 pm

help to execute the command

Post by rsadanan »

can anybody help me to execute the command

exec("crontab /usr/lib/zm/bin/zmpkg.pl Monitor")

i tried in php but it doesn't work

did i have to change permission in apache

please help to execute the command

thanks in advance
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

its just a command line thing not a php thing but i ahve never tried to chnange run states from the command line.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked