:global stopRouterRun false;
:do {
:local file "electric cut.txt";
:local day ([:pick [/system clock get date] 4 6]);
:local mon ([:pick [/system clock get date] 0 3]);
:local year ([:pick [/system clock get date] 7 11]);
:local date "$day-$mon-$year";
:local time (:put [/system clock get time]);
:local data1 (" court: " . $date . " at: " . $time . " ) ;
/file print file="$file"
/file set $file contents=$data1;
:delay 60;
} while=(!$stopRouterRun)
but it should be taken into account that every time the electricity arrives, the internet does not arrive at the same time,
I do not know if you understand me Thanks for your help, especially Rextended and Jotne.
EL DONCITO.