I want to reboot my voice-port each morning at 7:00 am using th SNMP.
So I want to use a script, like shell, that I can schedule, into a linux machine.
This script will reboot one interface of the router.
Is it possible?
This is similar to a UNIX cron entry. This says to run the EEM policy every day at 0700. Cron timer policies require your router's clock to be authoritative, so it would best to configure NTP on this device.
You're missing an "end" after your CLI commands (I meant to include this in my example). And you probably want to change the syslog message since none of your voice-ports are 1/0.
action 15.0 cli command "end"
action 16.0 syslog msg "Bounced all voice ports"
Of course, all of this assumes performing a shut/no shut on these voice ports is what you want.