11.Nas_1


● ubuntu rebooting시 자동화 설정 crontab start 하기




컨텐츠 정보


본문

● ubuntu  rebooting시 자동화 설정 crontab start 하기 

하기와 같이 설치 설정시 재시작이 자동으로 되지 않는다

apt install mc

설치하여

./bashr

를 edit  추가 합니다

service cron start

service cron status

3232235521_1673489335.2629.png

3232235521_1673489320.3148.png

root@ubuntu1:/wtv# cat 0_m3u_setup_install.sh
cd /home/wavve
ls
rm send*.*
ls
service --status-all
apt-get update
apt-get install apache2 -y
service apache2 start
service --status-all
apt-get install wget -y
dpkg -i packages-microsoft-prod.deb
apt-get install -y apt-transport-https
apt-get update
apt-get install -y dotnet-sdk-3.1
ls
./1_m3uepg_wavve.sh
apt-get install nano -y
;apt-get install tzdata -y
;6 69
apt-get install yum -y
apt-get install systemd -y
apt-get install yum -y
apt-get install openssh-server -y
apt install cron -y
service cron start
service cron status
chmod 777  *.sh
chmod 777 wavve.*
;crontab -e
;0 */3 * * * sh /wtv/2_m3u_wavve.sh
;0 23 * * * sh /wtv/3_epg_wavve.sh
;https://cafe.naver.com/shieldtv?iframe_url_utf8=%2FArticleRead.nhn%253Fclubid%3D29593690%2526articleid%3D3513%2526commentFocus%3Dtrue
;https://11q.kr/www/bbs/board.php?bo_table=coding1&wr_id=35
root@ubuntu1:/wtv# service --status-all
 [ + ]  apache-htcacheclean
 [ + ]  apache2
 [ + ]  cron
 [ - ]  dbus
 [ ? ]  hwclock.sh
 [ - ]  procps
 [ - ]  ssh
root@ubuntu1:/wtv# service cron start
 * Starting periodic command scheduler cron                                                                                                                       [ OK ]
root@ubuntu1:/wtv# service cron stayus
 * Usage: /etc/init.d/cron {start|stop|status|restart|reload|force-reload}
root@ubuntu1:/wtv# service cron status
 * cron is running
root@ubuntu1:/wtv# service --status-all
 [ + ]  apache-htcacheclean
 [ + ]  apache2
 [ + ]  cron
 [ - ]  dbus
 [ ? ]  hwclock.sh
 [ - ]  procps
 [ - ]  ssh
root@ubuntu1:/wtv# crontab -e
crontab: installing new crontab
root@ubuntu1:/wtv# crontab -e
No modification made
root@ubuntu1:/wtv#

3232235521_1673486632.7879.png
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.


전체 1,746 / 1 페이지
전체 1,746 / 1 페이지



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-03-28 23:36:53

오늘의 홈 현황


  • 현재 접속자♨ 321 명
  • 오늘 가입자※ 4 명
  • 어제 가입자※ 11 명
  • 주간 가입자※ 27 명
  • 오늘 방문자 2,574 명
  • 어제 방문자 2,255 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,239,908 명
  • 전체 게시물※ 8,481 개
  • 전체 댓글수※ 24,394 개
  • 전체 회원수 10,844 명

QR코드


☞ 사진기로 촬영하시면 방문링크 됩니다

알림 0








최신글↑