12-18-2000
Hello,
I would like to schedule a command at a specific time on my system.I know that theres a file named at.alow and at.deny in my system. I can find the at.deny file but not an at.allow file .
Is there anyway out or i have to go and talk to the system administrator itself , or any other way of scheduling a command at a specific time ..
Waiting for a response
Prashant
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have tried to schedule my process at a certain time using the at command :
the error says bad time specification
can somebody help me
i used at 2300 job
thanks (2 Replies)
Discussion started by: prashantuc
2 Replies
2. UNIX for Advanced & Expert Users
Hello
How to know the scheduling policy of the process in
HP-UX. (1 Reply)
Discussion started by: manjunath
1 Replies
3. Programming
hi there i m having a confusion here with the looping in this example below. can someone help me out!?
#include<stdio.h>
main()
{
char it = 'a';
char stop = 'z';
int x,ret;
for(; it<'f';it++)
{
// for(x=0; x<32000;x++)
... (4 Replies)
Discussion started by: a25khan
4 Replies
4. Shell Programming and Scripting
Hi forum,
I have a problem concerning job or process scheduling and control.
I have to run 24 jobs (could be more sometimes less) of the same programme with different parameters. The machine this code is running on is an 8-core machine, so I was thinking that running all the processes at once... (0 Replies)
Discussion started by: deiphon
0 Replies
5. AIX
Hi all!
Some dumb administrator run the weekly backup "by hand" on our AIX 5.3 server, which we use to deploy Websphere applications, during work hours. Using the server while the backup is taking place is almost imposible. Both the disks are working at 100% and it's almost unusable. Asking the... (2 Replies)
Discussion started by: shandrio
2 Replies
6. Shell Programming and Scripting
Hi all,
My OS is Solaris 10. I want to schedule a job which i need to run between morining 6 to eve 6 once for every 2 hours. This is what i did.
0 6-18 * * 1-5 /monitor.sh
It runs for every hour how to make it for every two hours ......
Thanks,
Firestar. (1 Reply)
Discussion started by: firestar
1 Replies
7. UNIX for Dummies Questions & Answers
Hello, i'm absolutely new to the whole Operating Systems thing. I am pretty much level 0.
My assignment is to "simulate the execution of a stream of processes by a computer system, one CPU, many terminals 12 disk drives, 30 public mailboxes.
The professor runs a series of inputs which is a... (1 Reply)
Discussion started by: JaneSkylar
1 Replies
8. Shell Programming and Scripting
Hi,
i have 10 sh scripts. All are running in parallel using cron tab and each script gives "success" flag files once the execution is completed.
and, now i have 11th script which should look for "success" flag from those 10 sh scripts. once all the 10 flag files found, 11 th script has to do... (9 Replies)
Discussion started by: nago123
9 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
I have three requirements to schedule three shell scripts in crontab.
Could you please help me in this:
1) To schedule a shell script every 5mins interval every day between 10PM to 10:30PM
2) To schedule a shell script every 10min interval every day between 9AM to 10AM.
3) To... (6 Replies)
Discussion started by: abhi_123
6 Replies
10. Shell Programming and Scripting
I want to extract the process having highest utilization on each processor core
and then output its information (PID etc.) to a file. How can I do it by using either top or ps command?
Thanks. (1 Reply)
Discussion started by: Vaibhavs1985
1 Replies
LEARN ABOUT FREEBSD
auth_timeok
LOGIN_OK(3) BSD Library Functions Manual LOGIN_OK(3)
NAME
auth_ttyok, auth_hostok, auth_timeok -- functions for checking login class based login restrictions
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <sys/types.h>
#include <time.h>
#include <login_cap.h>
int
auth_ttyok(login_cap_t *lc, const char *tty);
int
auth_hostok(login_cap_t *lc, const char *host, char const *ip);
int
auth_timeok(login_cap_t *lc, time_t t);
DESCRIPTION
This set of functions checks to see if login is allowed based on login class capability entries in the login database, login.conf(5).
The auth_ttyok() function checks to see if the named tty is available to users of a specific class, and is either in the ttys.allow access
list, and not in the ttys.deny access list. An empty ttys.allow list (or if no such capability exists for the given login class) logins via
any tty device are allowed unless the ttys.deny list exists and is non-empty, and the device or its tty group (see ttys(5)) is not in the
list. Access to ttys may be allowed or restricted specifically by tty device name, a device name which includes a wildcard (e.g. ttyD* or
cuaD*), or may name a ttygroup, when group=<name> tags have been assigned in /etc/ttys. Matching of ttys and ttygroups is case sensitive.
Passing a NULL or empty string as the tty parameter causes the function to return a non-zero value.
The auth_hostok() function checks for any host restrictions for remote logins. The function checks on both a host name and IP address (given
in its text form, typically n.n.n.n) against the host.allow and host.deny login class capabilities. As with ttys and their groups, wildcards
and character classes may be used in the host allow and deny capability records. The fnmatch(3) function is used for matching, and the
matching on hostnames is case insensitive. Note that this function expects that the hostname is fully expanded (i.e., the local domain name
added if necessary) and the IP address is in its canonical form. No hostname or address lookups are attempted.
It is possible to call this function with either the hostname or the IP address missing (i.e. NULL) and matching will be performed only on
the basis of the parameter given. Passing NULL or empty strings in both parameters will result in a non-zero return value.
The auth_timeok() function checks to see that a given time value is within the times.allow login class capability and not within the
times.deny access lists. An empty or non-existent times.allow list allows access at any time, except if a given time is falls within a
period in the times.deny list. The format of time period records contained in both times.allow and times.deny capability fields is explained
in detail in the login_times(3) manual page.
RETURN VALUES
A non-zero return value from any of these functions indicates that login access is granted. A zero return value means either that the item
being tested is not in the allow access list, or is within the deny access list.
SEE ALSO
getcap(3), login_cap(3), login_class(3), login_times(3), login.conf(5), termcap(5)
BSD
January 2, 1997 BSD