07-26-2005
Hi, Perderabo -
Your suggestion was helpful! In the environmentless ksh, the at command was scheduled at the proper time. Of course, with no environment vars defined, it used GMT. When I then added only this one env var definition:
export TZ=:/usr/lib/locale/TZ/US/Eastern
the 2-hours-off symptom began to occur in this "stripped down" shell.
I compared this Eastern file to one on a related system (that schedules OK) and the files are identical. I even copied it over from a "good" system to try it, but with no effect. I also tried other TZ files, Central, etc. and, while the time changed, depending on the TZ value, the 2-hours-off symptom persisted.
One detail about TZ I don't understand.
When I assigned this value to TZ (i.e. without a leading colon):
export TZ=/usr/lib/locale/TZ/US/Eastern
the variable seems to be ignored. The at schedule used GMT, as if TZ were not set.
However, if it is set this way:
export TZ=:/usr/lib/locale/TZ/US/Eastern
the symptom always occurs.
So, your suggestion has helped shed a little light on this.
It is somehow connected to the TZ setting, but it's not clear exactly where the problem is. Do you have any follow-up ideas? Thanks!
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate.
1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Discussion started by: imu
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script.
I have scheduled the job in my crontab file as
... (6 Replies)
Discussion started by: forumthreads
6 Replies
3. UNIX for Dummies Questions & Answers
I have a lot of jobs scheduled using at command.
at -l gives only the job names and time ... how do i know which script is associated with which jobid.
Thanks. (1 Reply)
Discussion started by: blackeyed
1 Replies
4. Shell Programming and Scripting
Hi
I need to run a script every five minutes and it should run between 07-15 hours all days.
How i can achieve this...
i tried like this
*/5 07-15 * * * /scripts/CreateFtpData.sh
It throws an error... (1 Reply)
Discussion started by: aemunathan
1 Replies
5. Programming
Hi,
Though this is a unix forum mainly, am posting this oracle query here hoping to get a resolution.
I have set up two scheduled jobs in oracle 11g for executiong a procedure in specific time intervals. One as Hourly and other as minutely.
But the scheduled jobs are not running as per... (2 Replies)
Discussion started by: suresh_kb211
2 Replies
6. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
7. Shell Programming and Scripting
Hi,
I want my unix script to run as a scheduled job such that the script is invoked once every 15 minutes. Is there any way to achieve this other than running the script as a cron job? (2 Replies)
Discussion started by: vignesh53
2 Replies
8. Shell Programming and Scripting
i have a job scheduled in crontab. The problem is, it is not running automatically as per the time scheduled. But runs when executed manually. What would be the problem? Help me with this please. (6 Replies)
Discussion started by: Santhosh CJ
6 Replies
9. UNIX for Beginners Questions & Answers
Team,
Hope you all are doing fine
I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
faxq(1) mgetty+sendfax manual faxq(1)
NAME
faxq - display fax jobs queued by faxspool(1)
SYNOPSIS
faxq [-osa] [-v] [-r] [-P<job><prio>]
DESCRIPTION
Display the fax queue set up by faxspool(1).
faxq looks for all the jobs queued by faxspool(1) to /var/spool/fax/outgoing/*. For each job in the queue, faxq displays some status infor-
mations about it. If no options are specified, one line per queued fax job is printed, displaying the job number, sender, number of pages
and target fax number.
OPTIONS
-v Tells faxq to print a more verbose report for each job (multiple lines).
-o Show old jobs, already sent but still in the queue directory, too.
-s Show suspended jobs (stopped because of too many fatal errors during sending). You can restart those jobs with faxq -r
-a Show all jobs (active, old, suspended).
-r Restart suspended jobs. Every suspended job in the queue (that you have write permissions for) will be requeued. Use faxrm to
delete jobs that you do not want to be sent!
-P <job> <prio>
Change the priority of fax job <job> to <prio>. Example: "faxq -P F000247 3".
BUGS
faxq doesn't handle time scheduling yet.
SEE ALSO
faxrunq(1), faxspool(1), faxrm(1), faxqueue(5)
AUTHOR
faxq is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>.
greenie 27 Oct 93 faxq(1)