Both the Android task scheduler and the Java File operations want millis. For "Forever", Long.MAX_VALUE is used.