03-28-2014
Are you seeing any jump in dates on the OS? or its just the Application picking up different dates
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi ,
I have written a shell script that takes the current date on the server and stores it in a file.
echo get /usr/home/data-`date '+%Y%d'`.xml> /usr/local/sandeep/GetFILE.ini
I call this GetFILE.ini file from an sftp program to fetch a file from /usr/home/ as location. The file is in... (3 Replies)
Discussion started by: bsandeep_80
3 Replies
2. Solaris
Hi,
i just want to know how to format date command in solaris. like in linux if i use `date +%s`, it gives me seconds since 1970, but in solaris (sol86) , it is giving %s as result.
Is there any different way in solaris
Thanks
Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies
3. Solaris
I 'm running solaris10 u6 with 141414-02. My system is T5220 running 2 Ldoms and 7 zones on primary domain. I 'm tryin to create booth environment on my alternate root disk after breaking the SVM mirroring but it does not go well and stuck at some point , and i have to reboot the system to get rid... (1 Reply)
Discussion started by: fugitive
1 Replies
4. Solaris
Hi
We have upgraded our sun machine from solaris 9 to solaris 10.
Before upgradation the date command output(Solaris 9)
Wed Oct 13 09:45:21 IST 2010
But after upgradation the output for date is as below(solaris 10).
Wednesday, October 13, 2010 9:46:14 AM IST
Looks like I need to... (1 Reply)
Discussion started by: csreenivas
1 Replies
5. Solaris
Hi Guys, having an issue with running Live Upgrade on a t5240 runiing Solaris 10 5/08.
The system has the required patches 121430, and Live upgrade was updated from the install media sol-10-u10-ga2-sparc-dvd.iso
The following boot environments were created
solenv1 and solenv2 with the... (8 Replies)
Discussion started by: Revo
8 Replies
6. Shell Programming and Scripting
Hi,
I have the below data in a file in one of the path,
101 02100002111406893401207310900A094101xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5200xxxxxxxxxx D18000_1 CCDXXXXXXX JUL 31201207 1140689340000001
622113010547999999999003 000333333334RE ... (1 Reply)
Discussion started by: Ramyajiguru1
1 Replies
7. Solaris
I have Solaris-10 sparc box with ZFS file-system, which is running two non global zones. I am in process of applying Solaris Recommended patch cluster via Live Upgrade.
Though I have enough space in root file-system of both zones, everytime I run installcluster, it fails with complaining less... (7 Replies)
Discussion started by: solaris_1977
7 Replies
8. Solaris
Hey Guys I am new here, dont know if any one can assist me with this issue.
I have a Sun-Fire-V490 machine that was upgraded to version 9 and patched a few months back.
Problem is a few network printers managed by the server is printing an extra page that comes out before and after every print... (0 Replies)
Discussion started by: mprogams
0 Replies
9. Solaris
I have list of dates in a file. Am reading each line and trying to format date, Can you please help me ?
Sample file content:
02/22/16 USA is great country
02/21/16 USA future
02/23/16 who is he
I want to read each line from above file and format date as below
2016-02-21 (i.e., using... (1 Reply)
Discussion started by: prince1987
1 Replies
LEARN ABOUT ULTRIX
calendar
calendar(1) General Commands Manual calendar(1)
Name
calendar - calendar reminder service
Syntax
calendar [-]
Description
The command consults the file `calendar' in the current directory and prints out lines that contain today's or tomorrow's date. The com-
mand recognizes most month-day dates, such as Dec. 7, december 7, 12/7, but it does not recognize dates formatted in the following ways: 7
December or 7/12. If you give the month as * with a date, such as, * 1, that day in any month will do. On weekends, specifying tomorrow
extends through Monday.
When an argument is present, the command searches through a user's calendar file in his login directory and sends him any positive results
by Normally this is done daily under control of
The calendar file is first run through the C preprocessor, to include any other calendar files specified with the #include syntax.
Included calendars are shared by all users, and are maintained and documented by the local administration.
Options
- Functions for every user who has a calendar file in his login directory.
Restrictions
The extended idea of tomorrow does not account for holidays.
Files
calendar
/usr/lib/calendar to figure out today's and tomorrow's dates
/etc/passwd
/tmp/cal*
/lib/cpp, egrep, sed, mail as subprocesses
See Also
at(1), cron(8), mail(1)
calendar(1)