1분마다 curl를 crontab 으로 연동시
CMS/프레임워크 | 사용안함 |
---|---|
개발 언어 | 사용안함 |
* * * * * curl -s https://테스트/index.php?mid=test&act=dispYoudocSearchChannelList > /dev/null 2>&1
해당 내용으로 crontab 을 연동하였습니다.
그런데 access.log 를 확인해보니,
/index.php?mid=test 까지만 실행하고 act 이후의 동작을 실행하지 않는데 혹시 crontab 상에서 curl 연동시 &와 같은 문자를 다르게 (&) 써야하나요?
람보
Lv. 17
댓글 3
"로 묶어보세요
curl -s "https://테스트/index.php?mid=test&act=dispYoudocSearchChannelList" > /dev/null 2>&1
https://github.com/jhuckaby/Cronicle
cron 관리용으로 쓰고있습니다..