Page 1 of 1

Scheduling Jobs at V8

Posted: Fri Oct 10, 2008 6:40 am
by ArndW
Perhaps I am just having a bad day and a mental "whiteout", but a colleague has just brought up an issue that I cannot quite understand or explain.

We are running Version 8 on AIX. If I try to schedule a job from the director I get an error message stating that I have insufficient privileges to perform that function - but on close inspection, the error is referring to the "at" command, not the UNIX "cron" command that I would have expected.

I was certain, until now, that scheduling a job from the director on a UNIX DataStage server would, in fact, add the request on the Server and not on the client. Can anyone confirm this supposition, or tell me that my remembery is incorrect?

Posted: Fri Oct 10, 2008 7:23 am
by ray.wurlod
at is used for "one shot" schedules, cron for repeating schedules. It was thus in earlier versions also.
Note that this is the UNIX command at and not the Windows command AT.

Posted: Fri Oct 10, 2008 7:34 am
by chulett
Exactly, you've always needed 'allow' permissions to both cron and at for UNIX. And as Ray notes, cron does all of the repeating schedules while at does schedules that only run once. Granted, the vast majority of times you're doing the 'every X' type scheduling so for some people the issue may never surface.

Posted: Fri Oct 10, 2008 7:37 am
by ArndW
Ahh, that explains it, when I tested it I must have clicked on a once-only button. Now that I tried it again with "weekly" I get the expected cron error message (since the user really doesn't have the required access)