Advertisement
rootplg3544

user bulanan

Jul 20th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. masukan script ini ke uesr profile untuk user profile 30d
  2.  
  3. :local pengguna $user;
  4. :local date [/system clock get date];
  5. :local time [/system clock get time];
  6. :log warning "$pengguna telah login pada jam $time";
  7. {
  8. :if ([/system scheduler find name=$pengguna]="") do={
  9. /system scheduler add name=$pengguna interval=30d on-event="/ip hotspot user remove [find name=$pengguna]\r\n/ip hotspot active remove [find user=$pengguna]\r\n/system scheduler remove [find name=$pengguna]"
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement