LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2011, 10:11 AM   #1
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Rep: Reputation: 12
Cronjob


Hi all

I know there are alot of posts about Cronjob, but i didn't found something with executing a shell script in a certain folder

this is my cronjob:
Code:
* * * * * /testmap/./check-selenium.sh -c "com.example.tests.LoginLogout" -b "http://website" -t "*mock"
Don't look at the arguments, but my question is as follows
the bold piece of the cronjob, is that correct?
If so, how can i see that he runs the script? Normally if i run it manually, i can see some things happening

anyway, after making the cronjob i did this:
Code:
crontab cronjob.txt
but i think i'm doing something wrong, can someone help me

thanks in advance

P.S.: is it true dat if i user 5 wildcards (* * * * *) in the cronjob that he normally has to execute it EVERY MINUTE???
 
Old 04-13-2011, 10:17 AM   #2
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Original Poster
Rep: Reputation: 12
Never mind it works, made a mistake

in stead of check-selenium it is check_selenium

Thanks anyways
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cronjob doing it twice why? joesto Linux - Newbie 4 11-17-2010 02:36 PM
cronjob help meeh Linux - General 1 03-26-2004 11:41 AM
Cronjob engnet Linux - Networking 6 03-03-2004 09:21 AM
cronjob ugob Linux - Software 0 03-03-2004 09:20 AM
Su in a cronjob michedlp Programming 3 11-06-2003 08:30 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration