Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /system script
- add comment="Hapus Expired User ROS 6.xx" name=expired_userman owner=admin policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":local username\
- \n\
- \n :foreach i in [/tool user-manager user find where !actual-profile] do={\
- \n :set username [/tool user-manager user get \$i username]\
- \n :log error (\"Remove user name \$username\")\
- \n [/tool user-manager user remove \$i]\
- \n }\
- \n"
- /system scheduler
- add comment=delete-expired-user interval=1d name=del-user on-event=expired_userman \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
- mar/08/2017 start-time=06:00:00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement