In Linux command below will trigger an rm commands after 5 minutes.
echo "sleep 5m && rm -f /var/www/html/products.html" | at now
In Windows the command below will also trigger a copy command after 5 minutes.
Start-Job -ScriptBlock { copy /html/update.html /shared/} -ArgumentList (New-TimeSpan -Minutes 5)
Comments
Post a Comment