Search Results

Search: Posts Made By: beautymind
2,954
Posted By Don Cragun
Since we don't know what your script is doing,...
Since we don't know what your script is doing, there is absolutely no way that we can guess how to speed it up.

This thread is closed.
2,954
Posted By apmcd47
One example of using a flag, or lock file. ...
One example of using a flag, or lock file.

#!/bin/bash
myname=${0##*/}
if [[ -f /tmp/${myname} ]]
then
myname_proc=$(</tmp/${myname})
if ps -p ${myname_proc} >/dev/null
then...
2,954
Posted By hicksd8
Create your own 'flag'. For example, when the...
Create your own 'flag'. For example, when the job finishes, the last thing it does is create a file called 'oktorun'. The first thing the job does when it starts is check for the existence of the...
6,726
Posted By apmcd47
As I said, time to google for it. It looks like...
As I said, time to google for it. It looks like you need
kinit -k -t /path/to/tab/file in your script but I can't see how you create the file and I'm sorry to say I'm not prepared to waste any more...
6,726
Posted By Yoda
I am not familiar with this technology, but I did...
I am not familiar with this technology, but I did some reading online and found few threads which might help you:-

Setting up cron jobs...
4,573
Posted By RudiC
Try ...
Try
http_proxy="proxy.speria.saint-trop.net:3128"
HTTPS_PROXY="proxy.speria.saint-trop.net:3128"
4,573
Posted By rbatte1
Without these variables, the cron-run script will...
Without these variables, the cron-run script will not know how to get out of your network. Why would it? These are probably in a profile for you somewhere.

You can explicitly set them in your...
4,573
Posted By RudiC
What be the contents ot the variables password,...
What be the contents ot the variables password, OUTPUT_FILENAME, url when run from cron?
4,573
Posted By rbatte1
This is most likely because the environment for...
This is most likely because the environment for the process set up by cron is very basic. You may need to include all sorts of things such as proxy variables in your called script.

Can you share...
Showing results 1 to 9 of 9

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