Page 1 of 1

Job Scheduler

Posted: Mon Aug 10, 2009 1:27 pm
by devanars
not able to schedule jobs through datastage director giving an error like Error adding to schedule: at: 0481-108 You are not authorized to use the at command.
(Command was: at -s 16:00 today )
(Data was: /opt/IBM/InformationServer/Server/Projects/DEV/dsr_sched.sh /opt/IBM/InformationServer/Server/Projects/DEV_CONV_PHASE1 /opt/IBM/InformationServer/Server/DSEngine Extjob_test 0/50/1/0/0 2 >/dev/null 2>&1)

can anybody provide ad advise how to schedule jobs through director

Posted: Mon Aug 10, 2009 1:48 pm
by chulett
You need to have a SysAdmin give the scheduling user permissions to do so. That means an entry in both cron.allow and at.allow will need to be made for each user.

Posted: Mon Aug 10, 2009 1:58 pm
by devanars
I do not have idea how to give those cros.sllow and at.allow and where.

Posted: Mon Aug 10, 2009 2:01 pm
by chulett
As noted a SysAdmin needs to do it, not you.

Posted: Mon Aug 10, 2009 2:24 pm
by devanars
I was also a sysadmin can you please explain where can i apply these. Thanks

Posted: Mon Aug 10, 2009 2:48 pm
by chulett
Hmmm... if you are (or were) a SysAdmin then you should already know the answer. :?

Check under /etc for the .allow and .deny files for cron and at. Add the user name to whichever is appropriate. Create them if need be.

at.allow
at.deny
cron.allow
cron.deny


"cron" is used for recurring schedules and "at" is used for singleton runs.

Posted: Mon Aug 10, 2009 3:33 pm
by devanars
I was new as a admin so that requesting you guys.
what is the exact path i can look for those. thanks

Posted: Mon Aug 10, 2009 3:38 pm
by chulett
I already gave you the paths.