Skip to content

Commit

Permalink
[Refactor] 크롤링 활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed Apr 15, 2024
1 parent 8d91f48 commit fce46e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ jobs:
docker rm ${{ secrets.APPLICATION_NAME }}
docker rmi ${{ secrets.USERNAME }}/${{ secrets.PROJECT_NAME }}
docker pull ${{ secrets.USERNAME }}/${{ secrets.PROJECT_NAME }}
docker run --network=host -d -p ${{ secrets.DEPLOY_PORT }}:8080 -e TZ=Asia/Seoul --name ${{ secrets.APPLICATION_NAME }} ${{ secrets.USERNAME }}/${{ secrets.PROJECT_NAME }}
docker run --network=host -d -p ${{ secrets.DEPLOY_PORT }}:8080 -e TZ=Asia/Seoul --name ${{ secrets.APPLICATION_NAME }} -v /usr/bin/google-chrome:/usr/bin/google-chrome -v /home/serverking/chromedriver-linux64/chromedriver:/usr/bin/chromedriver ${{ secrets.USERNAME }}/${{ secrets.PROJECT_NAME }}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ScheduleService {
private String installPath;


/*@PostConstruct
@PostConstruct
@Transactional
public void initSchedule() throws InterruptedException {
crawlingSchedule();
Expand All @@ -40,7 +40,7 @@ public void initSchedule() throws InterruptedException {
@Transactional
public void renewalSchedule() throws InterruptedException {
crawlingSchedule();
}*/
}

@Transactional
public void crawlingSchedule() throws InterruptedException {
Expand Down

0 comments on commit fce46e7

Please sign in to comment.