crontab in solaris


 
Thread Tools Search this Thread
Operating Systems Solaris crontab in solaris
# 1  
Old 11-07-2008
crontab in solaris

hi

I want to run a script every 30 minutes in Solaris 10 x86

I tried
0,30 * * * * /tmp/script.sh

but it does not run.

any idea?
# 2  
Old 11-07-2008
chown 755 /tmp/script.sh <---- can check the permission of the script if its executable?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Crontab in Solaris zone

Hi, I created some cron entries in one of the 4 zones in Solaris 10. Now I want to edit it and unable to find the crontab file crontab -l gives : unable to open crontab file /usr/spool/cron/crontabs doesn't have the crontab file Hence, I did ifconfig -a and tried to login with the 3... (2 Replies)
Discussion started by: Rossdba
2 Replies

2. Solaris

Solaris Crontab & TOP output

Hello Guru's I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following: #!/bin/bash # logfile="/usr/mvf/morris/top.log" # echo... (2 Replies)
Discussion started by: littlemorris
2 Replies

3. Solaris

Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output

SOLARIS 9 Zone : date command in crontab shows delayed(One Hour) output Hi folks, the date command shows the correct date and time, How ever, if the date command executed through crontab in any form of scrip the output shows as one hour delayed, similar to date -u.. Can some one help in... (12 Replies)
Discussion started by: judi
12 Replies

4. Shell Programming and Scripting

crontab

I got a crontab like the one below. i know what it does, but I would ike ot understand why a variable X is defined and that will receive the path to the script and then what this portion will do for us : && $X 0 2 * * * X=/var/tmp/log_purge.ksh; && $X > /dev/null 2>&1 thanks for your... (3 Replies)
Discussion started by: Pouchie1
3 Replies

5. Solaris

cron / crontab issues - solaris 10

I am having some issues with my cronjobs not running in solaris 10. Cron is running: ~> ps -ef | grep cron root 202 1 0 Jul 18 ? 0:01 /usr/sbin/cron bender 1646 1562 0 01:57:49 syscon 0:00 grep cron crontab -l lists the cronjob and I *think* its in the... (8 Replies)
Discussion started by: ippy98
8 Replies

6. Solaris

Solaris 5.6 crontab problem

Hello, I cannot edit my root's crontab by using crontab -e. I know that it might be due to improperly set environmental variables but it still does not work. I use set EDITOR, set VISUAL. I cannot use export since this command does not seem to be available on my OS if you can believe that. ... (2 Replies)
Discussion started by: mojoman
2 Replies

7. Shell Programming and Scripting

Facing issue in Solaris OS in crontab for running shell script

Hello i have a shell script. it is running fine when i manually run at command prompt using following command ./script_file but while running shell script from crontab, it is giving error in each line. (2 Replies)
Discussion started by: mabrar
2 Replies

8. Solaris

Different edit crontab at Solaris..?

Hi.. At linux I can edit crontab with command $crontab -e BUT I don't know to edit crontab at Solaris because I tried with command $crontab -e I can't do that Can you help me...? Thanks for solution regards, srilinux (25 Replies)
Discussion started by: srilinux
25 Replies

9. Solaris

crontab logadm vs. logchecker in Solaris 10

We are upgrading netra servers from Solaris 8 to Solaris 10. With Solaris 8 we've been running /etc/cron.d/logchecker and /usr/lib/newsyslog in crontab. I understand that starting with Solaris 9 log rotation is now done with /usr/sbin/logadm. Does anyone know how the Solaris upgrade will handle... (1 Reply)
Discussion started by: dawinkler
1 Replies

10. UNIX for Advanced & Expert Users

rsh in crontab for solaris 7

I am putting a shell script in cron of root for solaris 7 server . This shell script runs rsh commands within the script. The result is the shell script does not run in cron. The cron syntax is perfect. When I run stand alone manually it works fine.I undesrstand I need to initialize everything... (6 Replies)
Discussion started by: Hitesh Shah
6 Replies
Login or Register to Ask a Question