event-options {
    generate-event { ztp-registration time-interval 30; }
    policy ztp-registration {
        events ztp-registration;
        then {
            execute-commands {
                commands {
                    "op url http://1.1.1.1/some_slax.slax output syslog";
                }
            }
        }
    }
}