How to run script automatically every 12 hour once?
Hi ! all, I have once script to remove temporary cache and temporary xml files
looks like this, as it is taking more space, I would like to run automatically every 12 hour once, and then I want to receive some log as acknowledgement
If by "every 12 hours once" you mean once every 12 hours, you can run it via cron:
If you don't discard the output in the script, or in the cronjob, you should receive an email with the output. For more output, perhaps you want to use rm's -v option, depending on how many files you expect to be removed.
You may have to source .profile in the cronjob or in the script.
no sir..I had not created tomcat user...infact..till date running script as a root user...thank you for your help...if I have any difficulty I will interrupt you once again sir...
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)
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)
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)
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)
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)
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)