Skip to content

Commit 36dcd0c

Browse files
committed
Minor improvements
1 parent 1b6a23d commit 36dcd0c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/com/olegshan/entity/Job.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void setDate(LocalDateTime date) {
8484
}
8585

8686
public String getDateToDisplay() {
87-
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd MMMM HH:mm:ss");
87+
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd MMMM");
8888
return date.format(formatter);
8989
}
9090
}

src/main/java/com/olegshan/parser/Performer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ public class Performer {
2222
@Autowired
2323
private HeadHunterUa headHunterUa;
2424

25-
@Scheduled(cron = "0 0/1 * * * *")
26-
// @Scheduled(cron = "0 0 7-23 * * *")
25+
@Scheduled(cron = "0 0 7-23 * * *")
2726
public void perform() {
2827
douUa.parse();
2928
headHunterUa.parse();

0 commit comments

Comments
 (0)