purzelbaum
unsere besten emails
Newnigma2
Newnigma2 FAQ Newnigma2 feed IRC Chat Gallery Database Portal Go to the Main Page

Newnigma2 » newnigma² » Allgemeine Fragen » cronjob ??? » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page cronjob ???
Author
Post « Previous Thread | Next Thread »
User Message Verfasst: 20.02.2011 14:03
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

cronjob ??? replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Weil CCcam bei mir gelegentlich abstürzt und ich die Ursache bisher nicht finden konnte, will ich dies per script (aus einem anderen Board) kontrollieren und ggf. cccam neustarten. Voraussetzung dafür war cronjob, dass ich hier vom feed installiert habe. Allerdings finde ich es hier im NN2 3.1.5 nicht (Dienste/Dämons ???) und weiß daher nicht ob es nun aktiv ist oder noch aktiviert werden muß.
Will halt sicher gehen, dass das cccam-restart-script zuverlässig arbeitet - gerade wenn man mal längere Zeit abwesend ist.

gruß redskyfox
User Message Verfasst: 20.02.2011 14:04
nightmann
Developer


images/avatars/avatar-110.jpg

Registration Date: 01.07.2007
Posts: 4,944
User Offline
1. Dreambox: 8000ss
2. Dreambox: 800SE-s

RE: cronjob ??? replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Dafür gibt es keine GUI. Das musst du dann auf der Console einrichten.
Du kannst aber besser im EMU Menü den automatischen CAMD Reset nutzen.

__________________
FAQ Übersicht
User Message Verfasst: 20.02.2011 14:06
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Das war ja 'ne superschnelle Antwort. Was gebe ich denn per Console ein für cronjob?
User Message Verfasst: 20.02.2011 14:38
nightmann
Developer


images/avatars/avatar-110.jpg

Registration Date: 01.07.2007
Posts: 4,944
User Offline
1. Dreambox: 8000ss
2. Dreambox: 800SE-s

replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Hier wird das näher eklärt: http://de.wikipedia.org/wiki/Cron

__________________
FAQ Übersicht
User Message Verfasst: 20.02.2011 17:05
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
Fragezeichen replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

... hilft mir nicht wirklich weiter - mit welchem Befehl in telnet steht da nicht.
Eigentlich muß nur cronjob noch gestartet werden damit das script funktioniert ...
User Message Verfasst: 20.02.2011 17:15
sparksofinsanity sparksofinsanity is a male
DAU


images/avatars/avatar-1967.png

Registration Date: 21.03.2010
Posts: 9,638
User Offline
1. Dreambox: 8000sscc
2. Dreambox: 7020HD

replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Nimm doch den Camd Autoreset der sollte auch zuverlässig funktionieren.
Zumindest ab nn2 3.1.5

__________________
Panasonic TX-P42GT50
User Message Verfasst: 20.02.2011 17:18
rickle rickle is a male
Doppel-As


images/avatars/avatar-1270.gif

Registration Date: 27.01.2011
Posts: 105
User Offline
1. Dreambox: 8000ssss
2. Dreambox: 800s

replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Wahrscheinlich hast Du cron noch nicht installiert, kann das sein?

Attachment:
unknown cron_3.0pl1-r15_mipsel.ipk (26 KB, 450 downloads)
User Message Verfasst: 20.02.2011 17:29
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Camd Autoreset startet ja nur einmal zu einer bestimmten Uhrzeit.

http://www.newnigma2.to/wbb2/attachment....achmentid=12263 hab ich installiert, aber ich hab das so verstanden, dass es noch per Console aktiviert werden muß damit es läuft.
User Message Verfasst: 20.02.2011 17:31
rickle rickle is a male
Doppel-As


images/avatars/avatar-1270.gif

Registration Date: 27.01.2011
Posts: 105
User Offline
1. Dreambox: 8000ssss
2. Dreambox: 800s

replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

mit ps kannst du überprüfen, ob der Prozeß cron läuft.
User Message Verfasst: 20.02.2011 17:37
Fred Bogus Trumper
VIP


Registration Date: 04.01.2009
Posts: 2,319
User Offline
1. Dreambox: 7020HD
2. Dreambox: 800SE-s

replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

cron installieren, den cronjob mit dem vi -editor anlegen

code:
1:
# crontab -e 


dann bist du im vi

mit "i" in den insertmodus

dann den cronjob mit den gewünschten parametern erstellen

M S T M W /pfad/zum/script/scriptname.sh

speichern:

<ESC> und dann ":wq" eingeben und <Enter>

wenn du nach der croninstallaion noch nicht rebootet hast, rebooten oder manuell starten

code:
1:
# /etc/init.d/cron start


dein script muss ausführbar sein (rechte 755)

mit crontab -e kannst du dann die jobs ändern, wird beim speichern gleich im cron übernommen

wenn dir der vi-Editor nicht so liegt:

/cron/tabs/root mit linuxkonformen Editor bearbeiten und cron manuel neustarten, damit die Änderung übernommen wird

code:
1:
# /etc/init.d/cron restart



Kurzanleitung vi-editor -> klickme

__________________
Gruß Fred

This post has been edited 2 time(s), it was last edited by Fred Bogus Trumper: 20.02.2011 17:38.

User Message Verfasst: 20.02.2011 17:40
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

Danke !
Da luufen viele Prozesse ab, vor allem CCcam - cron ist leider nicht dabei.
User Message Verfasst: 20.02.2011 17:45
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

quote:
Original von Fred Bogus Trumper
cron installieren, den cronjob mit dem vi -editor anlegen

code:
1:
# crontab -e 


dann bist du im vi

mit "i" in den insertmodus

dann den cronjob mit den gewünschten parametern erstellen

M S T M W /pfad/zum/script/scriptname.sh

speichern:

<ESC> und dann ":wq" eingeben und <Enter>

wenn du nach der croninstallaion noch nicht rebootet hast, rebooten oder manuell starten

code:
1:
# /etc/init.d/cron start


dein script muss ausführbar sein (rechte 755)

mit crontab -e kannst du dann die jobs ändern, wird beim speichern gleich im cron übernommen

wenn dir der vi-Editor nicht so liegt:

/cron/tabs/root mit linuxkonformen Editor bearbeiten und cron manuel neustarten, damit die Änderung übernommen wird

code:
1:
# /etc/init.d/cron restart



Kurzanleitung vi-editor -> klickme


Danke auch für deine Unterstützung.
Das script liegt schon angepasst und ausführbar in /usr/script/.
Werde mich morgen damit weiter befassen - jetzt ist Buli ...

gruß redskyfox
User Message Verfasst: 21.02.2011 13:23
redskyfox
Routinier


images/avatars/avatar-1072.jpg

Registration Date: 21.02.2010
Posts: 262
User Offline
1. Dreambox: 800se-s

Thread Starter Thread Started by redskyfox
cool replay | quote | edit | report       Go to the top of this page | Go to the bottom of this page

crontab ist jetzt angelegt und funktioniert.

Freude gruß redskyfox
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
Newnigma2 » newnigma² » Allgemeine Fragen » cronjob ???

Forum Software: Burning Board 2.3.6, Developed by WoltLab GmbH
secure-graphic.de
CT Security System 5.0.0 © 2006-2012Security & GraphicArt