Search Results

Search: Posts Made By: new2learn09
1,404
Posted By new2learn09
what it does
Well, thats the thing, i think it puts some lines in the properties file
1,404
Posted By new2learn09
Need help reversing this code
ssh servername.com "echo /$APP=$BUSIN >> $URI; echo /$APP/*=$BUSIN >> $URI"


Ok for example here i ssh into a example servername.com, and I think what it does some line gets put into the urifile...
Forum: Web Development 07-14-2009
7,035
Posted By new2learn09
Mod_Jk Log rotation
Hi , I have cronolog (http://cronolog.org/) setup to rotate both my error and access logs, but how can I use it to rotate my mod_jk.log file. I tried different things but cant get it to work. I want...
5,883
Posted By new2learn09
problem
Okay, i ran the script, but say if it deletes a log files in the folder directory 2009/01/27 . it still keeps the folder 27 because it gets modified and the date changes to todays date, how can i...
5,883
Posted By new2learn09
its works..... but
it works, but when i get rid of the argument exec 2>/dev/null , i still get rmdir to few errors and when its deletes an entire folder i get rmdir '.' : invald argument, is there anything i can do so...
5,883
Posted By new2learn09
results
FILEEXT=$1

find . -depth -name "$FILEEXT" -ctime -30 -exec rm -f {} \;
find -type d -ctime -30 -exec rmdir {} \;






$ ./deletefiles.sh *txt
rmdir: `.': Invalid argument
rmdir:...
5,883
Posted By new2learn09
where would i put that
Where would I put that?
5,883
Posted By new2learn09
file and directory deletion script
I saw many post about this but could not find a specific answer to this question.

i have the following code

find . -depth -name "$FILEEXT" -ctime -30 -exec rm {} \;

when i type...
4,355
Posted By new2learn09
what does this code mean?
if [ $USER != webadmin ]; then
echo 1>&2 Info : Only webadmin user can execute this script. please login and webadmin.
exit 127
fi

if [ $# -ne 1 ]; then
echo 1>&2...
8,757
Posted By new2learn09
ok im in the bin folder of my jboss apps server,...
ok im in the bin folder of my jboss apps server, and i see no logrotate file of conf, do i set it up here or what?
8,757
Posted By new2learn09
yeah.. i dont know what that means, i know what...
yeah.. i dont know what that means, i know what logrotate does but whats man
8,757
Posted By new2learn09
log rotation and autosys
Hi, I current have many apps servers running and need to create a script to rotate logs daily, and then create an autosys job to delete logs that are older than 30 days. I was thrown into this and...
Showing results 1 to 12 of 12

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