at job


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers at job
# 1  
Old 11-23-2004
at job

How do I configure my solaris 8 machine to run a job using at scheduler, as a different user. my at job only run as a root user, but i want to configure users to run at job.

I try to run a job to copy file like

at "time" </copy_script

but this only run, if I run as a root user.

the file being copy is own by user called tony and i would like user "tony" to be able to schedule the job without su to root.

Thanks you
# 2  
Old 11-23-2004
Do the files /etc/at.allow and /etc/at.deny exist, and if so, what do they contain?

Cheers
ZB
# 3  
Old 11-23-2004
the only file that exit is /etc/cron.d/at.deny

the at.deny contains the following

daemon
bin
smtp
nuucp
listen
nobody
noaccess
# 4  
Old 11-23-2004
The Solaris 8 man page for at details the files
/usr/lib/cron/at.allow
/usr/lib/cron/at.deny
do these exist/contain anything?

If not, you could try creating a blank at.deny file to let anybody use at and seeing if the user has solaris.jobs.user authorisation.

Cheers
ZB
# 5  
Old 11-23-2004
/usr/lib/cron/at.deny is a symbolic link to /etc/cron.d/at.deny

I left this blank but it still does not work.

Anymore suggestion please.

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Autosys Job: Job did not start

I have submitted an autosys job and force start it. Autosys hit the job 4 times to restart but it did not start and finally I terminate the job. Any idea why the job did not start. Below is the code I executed. 1214 missun0ap /export/home/bzn97r/develop/dswi/jil$ sendevent -E FORCE_STARTJOB... (0 Replies)
Discussion started by: jnrohit2k
0 Replies

2. Shell Programming and Scripting

autosys job configuration for job failure.

We need to configure autosys that when a job fails continously for 3 times, we need to call another job. Is this possible in Autosys, or can anyone advice on the alternative. (2 Replies)
Discussion started by: sangea
2 Replies

3. Shell Programming and Scripting

Script to Start a Job after finding the Old job completed

Hi Experts, I need a script advice to schedule 12 jobs ( SAS Codes execute back ground ). Algorithem: 1. Script checks first job. 2. Finds first job is done; invoke second job. 3. finds second job is done; invoke third job. .. Request you to please assist. (3 Replies)
Discussion started by: Jerald Nathan
3 Replies

4. Shell Programming and Scripting

At job

Hi I am using at job in my SHELL scripts.. When it prompts to enter the time for at job..I used to press enter(return) button.. After that its running the job properly, but its showing the below error UX:at: ERROR: Bad date specification.. Can some one suggest how to remove that error. ... (5 Replies)
Discussion started by: grajesh_955
5 Replies

5. UNIX for Dummies Questions & Answers

How to insert child job under a box job?

I have this box job and it contains only one job under it which is to load a file. I want to insert a "File Watcher", "Copy File" to it? Have no clue how to do that...any help plzzz... (4 Replies)
Discussion started by: xejatt
4 Replies

6. Shell Programming and Scripting

Job dependent on other job

Hi All I am trying to run one command ie grep but I want it should execute only after the completion of a shell script has finished. eg Following is my script : java -mx64m $JAVA_OPTS -Dant.home=$ANT_HOME -classpath $_CLASSPATH org.apache.tools.ant.Main -verbose -buildfile /opt/bea/wls... (4 Replies)
Discussion started by: pankajkrmishra
4 Replies

7. AIX

AT job

I have a little difficulty with the "at command". I use it to run hourly for daytime reports. I use korn shell scripting. It runs normal at daytime, but when at night it dies. So I have to start up in the morning again. The script is fine to me. I was thinking to switch to cron job, but I have a... (1 Reply)
Discussion started by: anhcuty
1 Replies

8. Solaris

killing a unix job after the job process gets completed

Hi, Thanks in advance. i need to kill a unix background running job after that job process completes. i can kill a job by giving the following unix command kill -9 processid how to kill the job after the current process run gets completed ? Appreciate your valuable help. Thanks... (7 Replies)
Discussion started by: dtazv
7 Replies

9. Shell Programming and Scripting

killing unix job after the job process completes

Hi, Thanks in advance. i need to kill a unix background running job after that job process completes. i can kill a job by giving the following unix command kill -9 processid how to kill the job after the current process run gets completed ? Appreciate your valuable help. ... (1 Reply)
Discussion started by: dtazv
1 Replies
Login or Register to Ask a Question