Solved

Regarding cron and swlist

Posted on 2006-11-01
3
326 Views
Last Modified: 2013-12-06
1.  I had created two new user in my HP-UNIX 11.0 system.  I did a crontab -l in these users but it gave permissions problem. So i added the new users to /usr/lib/crontab.allow . When i do a crontab -l i am getting "can't open your crontab file" . How do i set crontab for the new users.

2. How do i a start/stop the cron daemon. Is there any commands to do it?

3.  When i do a swlist alone i am getting some output. From which directory it takes and list me the output. To which directory the depot is mapped in HP-UX systems. How do i find it?
swlist

0
Comment
Question by:pigeon5566
3 Comments
 
LVL 6

Accepted Solution

by:
JJSmith earned 25 total points
ID: 17942827

1) Use crontab -e to initially create your contab file.

2) The cron daemon is a high level system process that is started when you boot the system and stop when you shutdown. Root is allowed to stop/start by hand by:

     /sbin/init.d/cron  stop

      or

     /sbin/init.d/cron  start

3) swlist will by default list software installed on the local host. If you want to list software in a depot then use the -d flag;

    swlist -d @ /somedir/some.depot


    try a man swlist

    or run it interactively - swlist -i

Cheers
JJ
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 48
CPU monthly average? 12 132
Unistall fileset without dependecies on AIX 3 69
AIX 5.x set up arrow to recall 11 58
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question