Sponsored Content
Full Discussion: Cron jobs in a unix server
Top Forums UNIX for Advanced & Expert Users Cron jobs in a unix server Post 302237189 by jim mcnamara on Wednesday 17th of September 2008 07:19:02 AM
Old 09-17-2008
Generally it is considered a security risk to give ordinary users access to cron or at.
Anyway
Code:
crontab -l -u <username>

lists the crontab for a given user. ...to start you off -
Code:
awk -F: '{ print $1 }' /etc/passwd |\
while read usern
do
   crontab -l -u $usern
done

run as root.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cron jobs

hi folks, I need an explanation on cron jobs with an example (4 Replies)
Discussion started by: vijaysabari
4 Replies

2. UNIX for Dummies Questions & Answers

Cron Jobs

Where can someone find info on Cron Jobs? Very new to UNIX and the PC I inherited looks to have several of them. Looks like they are some kind of background program that runs automatically at specified times. Would like to delete some of them and know more about them. (6 Replies)
Discussion started by: dereckbc
6 Replies

3. Solaris

Cron Jobs

whats up, Have some questions about cron jobs, I am fairly new to the unix os. My cronjob sends all output to my mail, does anyone know how to redirect output to come out on the screen??? Thanks...... (6 Replies)
Discussion started by: lewisoco
6 Replies

4. Solaris

Cron Jobs

I'm trying to run cron jobs to start any inhibited processes after a system reboot. I can schedule th cron, but i'm confused as to how to incorporated the reboot, since reboot is scheduled at different times, once every month. How can I write this to start every 15 min after after a reboot ... (2 Replies)
Discussion started by: Remi
2 Replies

5. Solaris

How to start/stop cron jobs on live server

Hi, I am working with a company where some times i need to start/stop cron jobs on need basis. I have one option to kill cron daemon.Is it right? Please correct me. Waiting for your reply. Thanks in advance.. (2 Replies)
Discussion started by: varaprasadu
2 Replies

6. Solaris

cron jobs

how to Put a cron entry which should be same script triggered on every Saturday and 1st of every month at 01.00 GMT. 0 2 1 * 6 --( At 2.00 GMT every sat & on 1st of every month) the above syntax is correct? Thanks (1 Reply)
Discussion started by: kurva
1 Replies

7. Shell Programming and Scripting

Help with cron jobs

Hi Frenz, How do we get a cron job running in background to foreground ? (3 Replies)
Discussion started by: mkalase
3 Replies

8. Solaris

Cron jobs and at jobs

There are two jobs in Solaris , Cron and at jobs.. I know how to disable or enable cron jobs. How can I enable at jobs and disable it. Kindly help. Rj (2 Replies)
Discussion started by: jegaraman
2 Replies

9. UNIX for Advanced & Expert Users

CRON on Unix Server

What is the command to list out all the CRON's running on a UNIX Server (7 Replies)
Discussion started by: Pash
7 Replies

10. Shell Programming and Scripting

Cron Jobs

How to see which cron jobs are not running? (2 Replies)
Discussion started by: rahul.raj1989
2 Replies
NWPQJOB(1)							      nwpqjob								NWPQJOB(1)

NAME
nwpqjob - Perform operations on the jobs in NetWare print queue SYNOPSIS
nwpqjob [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] < -d | -r > queue_name job_ID [ another_job_ID ... ] pqrm [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] queue_name job_ID [ another_job_ID ... ] DESCRIPTION
pqrm or nwpqjob -d remove specified jobs from the specified NetWare print queue. nwpqjob -r resumes specified job in the specified NetWare print queue. nwpqjob looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information. Please note that the access permissions of .nwclient MUST be 600, for security reasons. OPTIONS
-d Delete specified print job(s). This is default operation for pqrm. -r Resume (clear OPERATOR HOLD and USER HOLD flags) specified print job(s). queue_name queue_name is used to specify queue. You can not use wildcards in the name. job_ID , another_job_ID job_ID is used to specify which job has to be deleted or resumed. -S server server is the name of the server you want to use. -U user name If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your NetWare user name. -P password You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts. -n -n should be given to mount shares which do not require a password to log in. If neither -n nor -P are given, pqstat prompts for a password. -C By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off this conversion by -C. SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8), pqlist(1), pqstat(1) CREDITS
nwpqjob was written by Petr Vandrovec (vandrove@vc.cvut.cz). Resuming of print jobs was added by Zdenek Roub (zroub@ssps.zcu.cz). nwpqjob 07/16/2003 NWPQJOB(1)
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy