Crontab in Solaris zone


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Crontab in Solaris zone
# 1  
Old 08-05-2014
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 other ipaddresses mentioned but it still shows the same zone and no crontab file

Please let me know how I can access by crontab file for the zone which I created.

Thanks
# 2  
Old 08-05-2014
You must be in the zone... Still showing the same zone means you havent changed environment, how are you login to the different zones? Using ssh?
This User Gave Thanks to vbe For This Post:
# 3  
Old 08-05-2014
Thanks, you are right .... I need to be in the correct zone .I will post in another thread

Last edited by Rossdba; 08-05-2014 at 06:29 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

3. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

4. Solaris

Global Zone getting crontab info from zone

Hi, First post. I have a script that I am having a little trouble with and I hope someone can help. I will post the code for your input, but I want to read the lines of a file and use this as input to a command in a while loop... #!/bin/sh # # ### Variables MSG=/tmp/tmptest.txt... (7 Replies)
Discussion started by: dakelly
7 Replies

5. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

6. 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

7. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

8. Shell Programming and Scripting

How to set crontab for different Time Zone

Hi, I want to set cron job for different time zone from my machine. So here is what I did to set it. I am having a file cronfile, which I use to set cron jobs by using Crontab cronfile Now in cronfile I set TZ variable as Set TZ=Asia/Calcutta But now... (3 Replies)
Discussion started by: sarbjit
3 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies
Login or Register to Ask a Question