Problem with the dbmcli-call in a cronjob
I have a problem with a cronjob. When I started the script "recover_dbmcli.sh" with the user-id p01adm, the script running succesfully.
But when i started the same script with the crontab, the script started; but the dbmcli-command was not running
The crontab was edited with the same user-id p01adm.
simple example:
p01adm: crontab -e
30 13 * * * touch /tmp/recover_cron_ok ; cd /home/p01adm/ ; ./recover_dbmcli.sh ;
Script recover_dbmcli.sh:
#!/bin/bash
dbmcli -U c -i /home/p01adm/restore2.txt
exit 0
restore2.txt:
db_admin
> I have a problem with a cronjob. When I started the script "recover_dbmcli.sh" with the user-id p01adm, the script running succesfully.
> But when i started the same script with the crontab, the script started; but the dbmcli-command was not running
Did you explicitly source the environment? Cron does not do that automatically. So you'd have to start your script such as
#!/bin/csh
source $HOME/cshrc
source $HOME/.dbenv_<hostname>.csh
etc.
Markus
Similar Messages
-
Problems with the Internal Calls in SPA8000
Hi Community,
I'm integrating a SPA8000 with latest firmware 6.1.10(001) against UC560 with 8.1. The calls between the analog phones connected to SPA8000´s ports against the SPA502´s phones connected to UC560 are working fine. Also between the UC560´s extensions to SPA8000 ports.
The problem are in the internal calls in the SPA8000.
Any idea why the internal calls in SPA8000 are not working fine ???
I follow this manual that I attached
Thanks in advance.The problem was in the UC560, where you have to allow the following connections:
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip -
I'm facing a problem receiving calls, and connecting to data since I updated the IOS to the latest version
Hi there Abdallahbaba,
You may find the troubleshooting steps in the article below helpful.
iPhone: Troubleshooting a cellular data connection
http://support.apple.com/kb/ts3780
-Griff W. -
I am have problems with the ipad mini, it is a little crazy. It controls by itself, opens and closes application zooms in and out, end my facetime calls, Also Un certain part of the screen is no longer responsive to the touch, it Should be having so much problems. Thanks for your help.
iPad, iOS 7.0.4Try reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
I have called my bank and they told me there is no problem with the credit its the appstore that jammed my account so please if you can try and deduct from my account ill be very gratefull thank you
iPad 2 Wi-Fi + 3G, iOS 6.1.3
iPad 2 Wi-Fi + 3G, iOS 6.1.3
<E-mail Edited by Host>
iPad 2 Wi-Fi + 3G, iOS 6.1.3Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
If you need to contact iTunes Support then you can do so via this link : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
I have called my bank and they told me there is no problem with the credit its the appstore that jammed my account so please if you can try and deduct from my account ill be very gratefull thank you
iPad 2 Wi-Fi + 3G, iOS 6.1.3Jonijo88 wrote:
I,m sory but whin i go to supprt thay opin this bage and no another way that is let me wrait here and this problem is not first time it is happen with me evry time so jast whin thy fixed this problem i will stope wraiting here
For God's sakes, look harder...
http://www.apple.com/support/itunes/contact/ -
I have called my bank and they told me there is no problem with the credit its the appstore that jammed my account so please if you can try and deduct from my account ill be very gratefull thank you
You have to contact iTune Support
http://www.apple.com/support/itunes/contact.html -
After a successful home button repair on my iPhone 4, I've got a buzzing sound when I make or receive calls. No problem with the speaker as I can listen to online radio stations and my music.
I guess your definition of a "successful repair" is different from most people's.
If you got it serviced by Apple, take it back to them.
If you had it serviced by a 3rd party, Apple won't touch it. Take it back to whoeever fixed it for you. -
There is a problem with the phone app. When I want to call somebody the phone screen come too late. This will cause a problem if I call the wrong number. Apple please please please fix it as soon as possible and also check why the phone is always restart. I prefer to let us use the iOS 7 until you finished from the IOS 8 because Ios 8 still under construction there is a tones problems in the system. And this Will cause undirect problem for the iPhone 6
There is no apple here in this user to user technical forum.
Do this Use iTunes to restore your iOS device to factory settings -
Issue for the past 2 hours. Cannot make or receive calls in Little Falls, NJ. Is there a problem with the local tower?
You haven't enabled VoLTE (Advanced calling) have you? Not that it makes a difference just curious.
Have you upgraded to Lollipop yet?
Could be hardware or SIM card issue, read through this thread:
I can't make or take phone calls, but i can message and use data. Has this happened to anyone else? I've gone through three Samsung Galaxy S5's in the past three days, two of which have this problem and one just stopped working all together. -
I just had problems with a game called call of duty 4, modern warfare. I decided that if I deleted it, I could reinstall it, I could get it back to normal. After I deleted it,I went to to the appstore and went to purchases and accidentaly deleted it. please help me!
You have not deleted it from the purchases list, it is just hidden. To unhide an app, open the Mac App Store app, click the Account link in the Quick Links to the right of the pane and go to the iTunes in the Cloud section where you can manage hidden apps.
-
Has anyone had a problem with the iPhone 4 becoming unresponsive as a call is being received?
Has anyone had a problem with the iPhone 4 becoming unresponsive as a call is being received?
I'm sure someone has.
-
HI
I Am having a problem with the sound/speaker on my iPhone 4S. Have no sound for media services ie iTunes but I can hear people when they ring me. Any ideas?
thanksIf you have a docking station try putting it on there. I lost my sounds, docked it and they came back immediately.
-
Problem with the MenuBar and how can i delete a own component out of the storage
Hello,
I opened this thread in the category "Flex Builder 2", but
under this category my questions fit better.
I have a problem with the MenuBar and a question to delete a
component out of storage.
1. We have implemented the MenuBar, which was filled
dynamically with XML data.
Sporadically it will appear following fault, if we "mousover"
the root layer.
RangeError: Error #2006: Der angegebene Index liegt
außerhalb des zulässigen Bereichs.
at flash.display::DisplayObjectContainer/addChildAt()
at mx.managers::SystemManager/
http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
at mx.managers::SystemManager/addChild()
at mx.managers::PopUpManager$/addPopUp()
at mx.controls::Menu/show()
at mx.controls::MenuBar/::showMenu()
at mx.controls::MenuBar/::mouseOverHandler()
Here a abrid ged version of our XML to create the MenuBar:
<Menuebar>
<menu label="Artikel">
<menu label="Artikel anlegen" data="new_article" />
<menu label="Artikel bearbeiten" data="edit_article" />
<menu label="Verpackung">
<menu label="Verpackung anlegen" data="new_package" />
<menu label="Verpackung bearbeiten" data="edit_package"
/>
</menu>
<menu label="Materialgruppe">
<menu label="Materialgruppe anlegen"
data="new_materialgroup" />
<menu label="Materialgruppe bearbeiten"
data="edit_materialgroup" />
</menu>
</menu>
</Menuebar>
It is a well-formed XML.
2. Delete a component out of storage
We have some own components (basically forms), which will be
created and shown by an construct e.g.
var myComponent : T_Component = new T_Component ;
this.addChild(myComponent)
Some of our forms will be created in an popup. On every call
of the popup, we lost 5 mb or more, all childs on the windows will
be removed by formname.removeAllChild();
What cann we do, that the garbage collector will dispose this
objects.
Is there a way to show all objects with references (NOT
NULL)?
I have read in the Flex Help, that
this.removeChild(myComponent) not delete the form and/or object out
of the storage.
Rather the object must be destroyed.
It is sufficient to call delete(myComponent) about remove
this object out of the storage as the case may be that the
garbage-collector remove this object at any time?
Or how can I destroy a component correctly. What happens with
the widgets on this component e.g. input fields or datagrids?
Are they also being deleted?
Thanks for your help.
MatzeIf you mena the "photo Library" then you cannot delete it.
This is how iphone handles photos. There are not two copies. There a re simply two places from which to access the same photos. ALL photos synced to iphone can be accessed via Photo Library. Those same pics can be accessed via their individual folder. -
Problem with the FOR statement.....again!
Hi everyone,
Well I'm still trying to do a car slideshow using external
files and can't seem to see the end. The current movie is here:
http://www.virtuallglab.com/projects.html
I also attach the code. My problem is I had originally set up
an animation with 2 pictures sliding in with some text, and then
wait 4 seconds before sliding out, and then next pictures and text
would slide in and so on, using a setInterval.
The problem is the FOR loop seems to skip the setInterval and
the function "wait", so it just loops quickly and jumps to last
picture, so on the example above, it just slides the last picture
(i=9) and that's it!
Can you not include another function within a FOR statement.
Or is there a way to tell the FOR loop to wait until all motion is
finished?
Any help greatly appreciated
import mx.transitions.*;
import mx.transitions.easing.*;
for (i=0; i<10 ; i++) {
var picLeft = "pics/"+i+".jpg";
var picRight = "pics/"+i+"b.jpg";
var txtToLoad = "text/"+i+".txt";
this.createEmptyMovieClip("leftHolder",1);
leftHolder.loadMovie(picLeft,i,leftHolder.getNextHighestDepth());
leftHolder._x = -200;
leftHolder._y = 15;
var leftTween:Tween = new Tween(leftHolder, "_x",
Strong.easeOut, leftHolder._x, 10, 2, true);
this.createEmptyMovieClip("centerHolder",2);
centerHolder.loadMovie(picRight,i+"b",centerHolder.getNextHighestDepth());
centerHolder._x = 180;
centerHolder._y = 250;
var centerTween:Tween = new Tween(centerHolder, "_y",
Strong.easeOut, centerHolder._y, 15, 2, true);
text._x = 600;
myData = new LoadVars();
myData.onLoad = function(){
text.carText.text = this.content;
myData.load(txtToLoad);
var textTween:Tween = new Tween(text, "_x", Strong.easeOut,
text._x, 420, 2, true);
myInterval = setInterval(wait, 4000);
function wait() {
var leftTweenFinished:Tween = new Tween(leftHolder, "_x",
Strong.easeOut, leftHolder._x, -200, 1, true);
var centerTween:Tween = new Tween(centerHolder, "_y",
Strong.easeOut, centerHolder._y, 250, 1, true);
var textTween2:Tween = new Tween(text, "_x", Strong.easeOut,
text._x, 600, 1, true);
clearInterval(myInterval);
***************************************************************************************** ***There is no way to tell a for loop to wait. That is not what
they do.
The entire for loop will execute (if possible, and it doesn't
enter some kind of continuous infinite loop) completely before each
time the frame is rendered.
If you want to spread things out over time you need to use
the setInterval -- but not inside a for loop! If you do that you
immediately set however many intervals as your loop has. In this
case you will also assign the ids for those intervals to the same
variable, effectively overwriting the value so you will never be
able to clear most of those intervals.
So you need to rethink you whole structure. Set up some kind
of counter and limit like this:
var slidesToShow:Number=10;
var curSlide:Number=0;
Then have your setInterval increment the curSlide each time
it is called and check to see if it has shown all of them. That is
where your "loop" comes in.
As for the other part of your question -- yes you actually
have two different issues going on -- again you cannot make a for
loop wait for anything. So no there is no way to pause it while you
wait for your tween to end. But you can be notified when a tween
ends.
Check out the documentation about the tween class in the help
files. There you will find the onMotionFinished event. So you can
set up one of those to start whatever needs to be started when the
tween has finished.
You should also use the MovieClipLoader class to load your
images, because you have no idea how long it will take to load
them. Using that class you get a nice event (onLoadInit) that tells
you when the asset is ready to be used.
Finally I'm thinking you might want to use setTimeout instead
of setInterval. It only goes once, while setInterval repeats
forever. So I would think your algorithm would be something like
this.
1. load external asset
2. when ready animate in and set onMotionFinished handler
3. when motion is finished start loading next asset and
setTimeout for 4 seconds.
4. when 4 seconds is up or the clip is loaded (which ever
takes longer) go to 2 and repeat.
If this is going to be run locally on a hard drive or CD you
won't have any problem with the length of time it takes to load the
external assets, but if it is over the web it will take time.
Maybe you are looking for
-
Use of Dimensions in Multiprovider?
Hi Experts, Can any one let me know while creating Multiprovider,why we should again select the infoobjects(from sub cubes) in to Dimensions(in MP)?Is it necessary?what are the Pros and Cons of this concept? Thanks James
-
Need setup input/opinion please.
Im setting up a new panasonic 50 HDTV and was thinking of getting the new Mac Mini. I want to be able to go out to the HD TV and play DVDs and also my home mad HD QT files. Also wanted to surf the web.... Is all this possible. Does it just work as if
-
Coming up with the error - "Runtime error '429': ActiveX Component Can't cr
Hi, While trying to edit the XML tag in a .rtf file (Microsoft Word 2010), coming up with the error - "Run time error '429': ActiveX Component Can't create object. Any help in resolving this is greatly appreciated. Rgds, Kiran Panditi
-
Plz tell me What is in the OSS
Hi plz give me the document that wht is in OSS note send me the document to thanks Message was edited by: skk
-
Error while installing oracle 10.2
Hi, We are installing oracle 10.2 on windows 2003 SE, 64 bit OS. Installation went fine upto 99 % and at the final it gave the error that : " Failed to start the service, Error 0. The operation completed successfull." and when we saw the services lis