Crontab Eintrag geht nicht... bitte um hilfe


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Crontab Eintrag geht nicht... bitte um hilfe
# 1  
Old 08-08-2009
Crontab Eintrag geht nicht... bitte um hilfe

Hallo,

ich versuche in Crontab eine Befehlszeile einzufügen, das mein Script für ein Anti Flood Tool nach jedem neustart des Servers startet. Leider kenne ich mich Linux nicht soooo gut aus. Vielleicht kann mir jemand helfen?

Ich danke euch schon mal.

--> der Eintrag den ich geschrieben habe.
@reboot ./teamspeak/ts2afd_startscript start



einen ähnlichen Eintrag benutze ich um den Ts zu Starten und das geht ohne Probleme
@reboot /teamspeak/tss2_rc2/server_linux
# 2  
Old 08-08-2009
Hallo.

Kannst du bitte die vollständige Crontab-Eintrag geben?

Und, der Punkt
Code:
./teamspeak/ts2afd_startscript start

sollte gelöscht werden.

Welche Shell benutzt du?
# 3  
Old 08-08-2009
Code:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXX1eso9q installed on Sat Aug  8 16:08:25 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
@reboot /teamspeak/ts2afd_startscript start
@reboot /teamspeak/tss2_rc2/server_linux
34      0       *       *       *       /usr/local/psa/bin/run-parts.sh /etc/psa/plesk-cron.daily
44      5       *       *       7       /usr/local/psa/bin/run-parts.sh /etc/psa/plesk-cron.weekly
50      1       1       *       *       /usr/local/psa/bin/run-parts.sh /etc/psa/plesk-cron.monthly
11,26,41,56     *       *       *       *       /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1
0       1       *       *       1       /usr/local/psa/libexec/modules/watchdog/cp/secur-check
0       1       *       *       1       /usr/local/psa/libexec/modules/watchdog/cp/send-report weekly
10      1       *       *       *       /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats
15      1       *       *       *       /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats day
15      1       *       *       1       /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats week
15      1       1       *       *       /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats month
15      1       1       *       *       /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats year
20      1       *       *       *       /usr/local/psa/libexec/modules/watchdog/cp/clean-events
0       3       *       *       7       /usr/local/psa/libexec/modules/watchdog/cp/clean reports

---------- Post updated at 09:25 AM ---------- Previous update was at 09:24 AM ----------

Leider weis ich nicht wie ich nachsehen kann welche Shell... und muss gestehen ... muss noch viel lernen... habe mich bis jetzt mit Linux nicht beschäftigt :-(

Last edited by DukeNuke2; 08-08-2009 at 11:46 AM.. Reason: added code tags
# 4  
Old 08-08-2009
Hello.

Per our forum rules, all posts must be in English.

We do provide translation services for posts from English to a number of languages as a benefit to users. However, posts must be in English.

Please repost in English.

Thank you for your cooperation.

The UNIX and Linux Forums.
# 5  
Old 08-08-2009
I'm sorry... but my english is not soo well. i was hope so i find hier sombody how can help my in german.
# 6  
Old 08-08-2009
Hi.

(Ich hoffe, dein Englisch ist besser als mein Deutsch!)

After removing the "." you need to reboot to test it.

Which user is running the cronjob?

Can you check the permissions using:
Code:
ls -l /teamspeak/ts2afd_startscript

Does the script work OK from the command line?
# 7  
Old 08-08-2009
Hello...

i was so angry... it don't works i rm the script vom server :-(

and yes... from command line it works...

i hope i finde a nother programm to stop "Flood" in ts... that was wat the script should do.

Sorry "für mein schlechtes Englisch"...
and thx for help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

OS 10 lässt sich nicht mehr installieren...ubuntu läuft als system im moment....hilfe!

hello, I have installed on my MacBookPro Ubuntu via Boot Camp, but bootcamp has deletet that MacOS partion and created just one new and installed ubuntu. Now I can not install MacOS 10 from the DVD, the gray screen comes when I use the "C" key during the boot process. it starts booting... (2 Replies)
Discussion started by: ingwio
2 Replies

2. Shell Programming and Scripting

Hilfe beim SCRIPT

Hallo, unter Suse Linux 11.2 / Kubuntu 10.04 habe ich mir ein Service-Menü angelegt. Bis auf das Nachfolgende funktioniert alles bestens. Bisher habe ich auf der Konsole mit dem Programm pdftk Anhänge an ein Pdf-File erzeugt. Der Code lautete pdftk beispiel.pdf attach_files Anlage1.pdf... (1 Reply)
Discussion started by: Hannes_007
1 Replies

3. UNIX for Dummies Questions & Answers

Brauche SCHNELLE HILFE

Hallo, ich habe folgende Dateien: 1Lmr12345.orig 1Lmr23456.orig 1Lmr34567.orig Davon allerdings hunderte. Wie lautet der Befehl um diese Dateien umzubenennen in 1Lmr12345 1Lmr23456 1Lmr34567 also ohne die Endung und ohne den Punkt? Weiß einer was????? (1 Reply)
Discussion started by: FranzB
1 Replies

4. Solaris

crontab

Hi I have an entry in the cron file. 10 3 * * * /usr/bin/test.sh I want to change it to: 00 11 * * * /usr/bin/test.sh how to do this without entering the crontab file and edit the change? thank you (5 Replies)
Discussion started by: melanie_pfefer
5 Replies

5. HP-UX

Crontab

Is it possible to add a line to a crontab to so that a program will run every 15 minutes? how will this line look? Thank you. (10 Replies)
Discussion started by: NicoMan
10 Replies

6. Shell Programming and Scripting

Using Crontab

Hi All, I've a shell script which calls a Sybase stored procedure to do some functionality. I want to schedule the running of this script by crontab. I'm using Solaris 5.8. When i executed the following command crontab -l i got the output as crontab: can't open your crontab file How... (10 Replies)
Discussion started by: sumesh.abraham
10 Replies

7. Shell Programming and Scripting

help with crontab

i have a ksh script that creates messages in a temp directory and then sends them out using the sendmail command and i'm trying to set it up to run every night with crontab. So the basic gist of the script is #create temp dir and messages ... #loop through each message and send using sendmail... (3 Replies)
Discussion started by: bob122480
3 Replies

8. UNIX for Dummies Questions & Answers

Crontab

How can I run "crontab" (parameters) every 6 hours on solaris machine? Thanks (1 Reply)
Discussion started by: gen4ik
1 Replies

9. UNIX for Dummies Questions & Answers

crontab help

Hi All, Please help me in understanding the crontab entries and also below queries 1. how can we set a crontab entry 2. from where the cronjob will run( if default) 3. you can we specify the location from which the cronjob should run. 4. how can we capture the output of the cronjob. ... (8 Replies)
Discussion started by: thaduka
8 Replies

10. UNIX for Dummies Questions & Answers

crontab

Hi I have a shell script which works fine at the command line and does works in crontab also but does not send the output to mail as other scripts do by default. 10 1 * * * /export/home/test/report_script by default should send the output to mail but the script runs OK and the output... (1 Reply)
Discussion started by: run_time_error
1 Replies
Login or Register to Ask a Question