Add deletion of station schedule info when station is removed
Task scheduler entry for Windows, cron entry for *nix
This commit is contained in:
@ -143,6 +143,7 @@ public class StationSelectionController {
|
||||
if (change.wasRemoved()) {
|
||||
for (StationSettings removedStation : change.getRemoved()) {
|
||||
try {
|
||||
StationSettings.deleteStationData(removedStation.getName());
|
||||
removedStation.deleteDir();
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Exception when removing station directory", e);
|
||||
|
Reference in New Issue
Block a user