located at File System -> tmp/crontab.iRppRO I've got this
1 * * * * /bin/bash ./usr/share/cacti/cli/cacti_moto_script.sh
and here's my script, which works fine when I run in terminal. It's located at /usr/share/cacti/cli/cacti_moto_script.sh
and here's the script.
#!/bin/bash
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
php -q add_device.php --description="x.x.x.x" --ip="x.x.x.x" --template=29 --community="Canopy"
I know I've got the crontab scheduled for every 1 minute (just trying to get it to work first) but I'd like it to be once every hour.