Search Results

Search: Posts Made By: deepaksahni0109
Forum: Solaris 04-02-2010
46,448
Posted By deepaksahni0109
It means it won't run at all if first day of the...
It means it won't run at all if first day of the month is not a Monday.

---------- Post updated at 08:05 AM ---------- Previous update was at 07:52 AM ----------

Conclusion:-
============
So,...
Forum: Solaris 04-02-2010
46,448
Posted By deepaksahni0109
then what is below mentioned entry showing? when...
then what is below mentioned entry showing? when will it run?


00 02 1 * 1 <script to be executed>
Forum: Solaris 04-02-2010
46,448
Posted By deepaksahni0109
crontab entry to run a script on 1st of every month.
What should be the crontab entry in solaris to run a script on 1st of every month?

Is this correct?


00 02 1 * * <script to be executed>
3,343
Posted By deepaksahni0109
use ps -ef |grep
use ps -ef |grep
5,811
Posted By deepaksahni0109
Am assuming that initially this file is not blank...
Am assuming that initially this file is not blank but you want to do something within the loop which will make it blank at the last.

If my assumption is correct then below mentioned code can...
8,108
Posted By deepaksahni0109
Hi, Thanks for your reply!! But I had...
Hi,

Thanks for your reply!! But I had already tried changing the format to yyyymmdd before your reply and it worked. Thanks anyways...:)

Is there any other method to do so without changing it...
8,108
Posted By deepaksahni0109
Solaris - how to compare two dates?
Hi,

I am trying to compare two dates but its not giving me desired results.

date1=8-Feb-10
date2=31-Jan-10
export date1
export date2
if [ $date1 -gt $date2 ]
then
echo "$date1 is...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy