05-22-2013
Nothing in your script requires root password. You mean the script has to be run as root?
If that's the case, then the cronjob should be installed as root. Are those files not owned by the tomcat user?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
How to run a script automatically using cronjob everyday from Monday to Friday 9A.M to 5P.M at an interval of ONE HOUR.I want the complete syntax means how to put in the cron job and there after.
URGENTLY NEED HELP
THANKS IN ADVANCE
CHEERS
Arunava (7 Replies)
Discussion started by: arunava_maity
7 Replies
2. UNIX for Dummies Questions & Answers
How to make a script run automatically using a cron??
i do not know abt cron......
if i have simple.sh file and i need this to run everyday at a particular time what needs to be done
thanks in advance (4 Replies)
Discussion started by: hamsa
4 Replies
3. Shell Programming and Scripting
Hi All,
I want to run a script on the hour during a 24 - hour period; easy enough cron will take care of that..however I want the script to only run for only 30mins..
so with the script it knows its 30mins are up so exits.
any ideas?
Any help, greatly appericated.
Thanking you all... (2 Replies)
Discussion started by: Zak
2 Replies
4. Shell Programming and Scripting
hi ,
i m trying to run bash scrip automaticially but i dont know how i can do this an anybody tell me how i can autorun shell script when i logon .
thanks (9 Replies)
Discussion started by: tahir23
9 Replies
5. Shell Programming and Scripting
Hi!
I want to run/execute a bash script automatically everytime when a specific file is created or when its timestamp changes. Is this possible? How?
Thank you very much for your answers in advance,
Regards,
Christoph (1 Reply)
Discussion started by: ckofler
1 Replies
6. Shell Programming and Scripting
Hi All,
How can i run a script every week automatically.
Thanks & regards,
Sam (5 Replies)
Discussion started by: sam25
5 Replies
7. Shell Programming and Scripting
Hi All,
I am using ksh as the shell. I have a script that should store variable after executing "onstat" on informix. I can execute it successfully without any issue if run manually, however the value is not showing up when run automatically(scheduled).
Is there anything needed to make the... (1 Reply)
Discussion started by: tungaw2004
1 Replies
8. Shell Programming and Scripting
How can we run shell script every one hour.
Anyone having code unit for this? (1 Reply)
Discussion started by: Pratiksha Mehra
1 Replies
9. Shell Programming and Scripting
Hi,
I have a script written for monitoring the queue manager status continously. below is the script.
QMGR=`dspmq | awk '{print $1}' | cut -f2 -d "(" | cut -f1 -d ")"`
QMSTATUS=`dspmq | awk '{print $2}' | cut -f2 -d "(" | cut -f1 -d ")"`
count=`dspmq | awk '{print $1}' | cut -f2 -d "(" | ... (5 Replies)
Discussion started by: Anusha M
5 Replies
LEARN ABOUT DEBIAN
update-profile-cache
UPDATE-PROFILE-CACHE(1) General Commands Manual UPDATE-PROFILE-CACHE(1)
NAME
update-profile-cache - (re)generate profile assignment cache
SYNOPSIS
update-profile-cache
DESCRIPTION
Running this script (re)generates the cache of profile assignments used by desktop-profiles. By default this script is run automatically
once a day by a cron script.
NOTE: No cache of assignments will be generated in cases where cache use isn't supported by desktop-profiles (at the moment caching pro-
file assingments is only supported in the simple case when no group or command requirements are used for activation of profiles,
i.e. when we have a static machine-wide profile assignment).
FILES
/etc/desktop-profiles/*.listing - Files containing the metadata about installed profiles
/etc/default/desktop-profiles - File containing default settings for this script
AUTHOR
This manual page was written by Bart Cornelis <cobaco@skolelinux.no>.
SEE ALSO
desktop-profiles(7), profiles-manager(1), list-desktop-profiles(1)
desktop-profiles December 13, 2006 UPDATE-PROFILE-CACHE(1)