Plan a daily load not run on Saturdays
Hi Gurus,
I need to plan a process chain to run every day except Saturdays.
Do not know how to plan the job, as the only option that I like what I need, is execution on a daily, and the restriction of "Do not run on Sundays and public holidays."
But this option is not worth me, because on Sundays and holidays if I want to run, I just want to exclude Saturdays.
Sincerely,
Hello,
I think you can create an ABAP program to check the week day based on date.
Make use of FM 'DATE_COMPUTE_DAy'.
If its sat, then use FM 'RSPC_API_CHAIN_START' to trigger ur PC.
Now schedule the abap program to run daily.
Regards,
Shashank
Similar Messages
-
Daily processes not running. Why not?
For no reason discernable to me, my dual 2Ghz PowerPC G5 running 10.4.6 suddenly stopped running the scripts in /etc/periodic/daily. The strange thing is that the processes in /etc/periodic/weekly and /etc/periodic/monthly are still executing weekly and monthly, as appropriate.
According to the /var/log/daily.out, the last time the daily processes ran was the 27th of April, so I suspect something failed around that time. The log for that day shows that not all the entries were run. I checked /System/Library/LaunchDeamons, and the launchd entry for com.apple.periodic-daily.plist is there and is unchanged since installation.
The system log for the 27th shows only these entries:
Apr 27 03:57:49 hostname cp: error processing extended attributes: Operation not permitted
Apr 27 03:58:15 hostname cp: error processing extended attributes: Operation not permitted
Entries like these also show up the 26th, 29th, May 1st and May 6th, so that wasn't the only time.
What do I check next?
Dual 2Ghz PowerPC G5 Mac OS X (10.4.6)The computer is on 24/7, or as close to it as I can
get, so being off isn't a problem.
Even if turned off regularly the daily scripts should run at least a couple times a week. On my work computer weekly and monthly never run because I turn it off for the weekend, but the daily still runs. So my point is that the monthly is the first most likely not to run, then weekly, and daily not running, ever, would be practically unheard of.
Of course, that doesn't solve the problem. You
should repair permissions and run Disk Repair from
the install disk. You could also try deleting the
preferences then running it manually from the
Terminal to reset it.
Which preferences are you referring to?
I don't know, do a search with EasyFind, not Spotlight, and see what you can find. And check out Apple's Knowledge base. There has to be at least one preference to delete but you might need some detective work to find it. -
Swf loader not running on mov export
Using this actionscript 3 code :
var myLoader:Loader = new Loader();
loader_mc.addChild(myLoader);
var url:URLRequest = new URLRequest("banner-ad4.swf");
myLoader.load(url);
I loaded a swf file into my fla document. It looked good when published as swf. When I then try to export it as a .mov file the created file is distorted and the swf file does not load. I receive no error messages. Any thoughts about why this is happening?
Thank you.Welcome to discussions Sateendra!
Personally I would have prefered to save as MPEG-4, to view on a PC-but I don't think that counts.When you look at the file in your PC does it look like a QT movie or it looks as a .DAT file? In case it doesn't have an extension, make a copy of it at your desktop and add the extension .mov manually.Otherwise, you can always try with the Get Info pane make it a QT movie directly from your Mac prior to exporting.
P.S. : I'd like to help further, but I'm now on iMovie6 and don't remember settings... -
I would like to know if there is a way to populate a ring or enum control list using values maintained in a text file (or other format) outside of a VI. I have to be able to call this VI from TestStand or LabVIEW, and would like to be able to use the drop down interface to pick from the list of selections. As a result, the ring or enum list would need to be updated before the VI runs. I want to avoid just using a string to prevent typo's from creating errors. There would be several different VI's getting the list values from this text file. Is this possible, or am I way off base? Or does anyone have any other ideas or suggestions?
Thanks everyone,
q.Thanks for the replies. I had a chance to play with ring controls and updating the string array dynamically.
However, as I mentioned in my first post, one of the reasons I want to use dynamically updated lists is to have a readable drop down list in TestStand when you configure a step (i.e. Specify Module). This would help serve as a part of a hardware abstraction layer, and for maintainability purposes we don't want to split the hardware map among a number of VI's.
Unfortunately, TestStand doesn't seem to recognize the string list from a ring control. And as mentioned above, there are issues with updating Enums. Is it possible to accomplish a way of dynamically populating this list in such a way that TestStand will recognize it? Is there another control that would work better (e.g. list boxes, combo boxes, etc.)?
Thanks for your help,
q -
Job not running on expected time
Hi,
Please see the job details
X NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT
*( job => X*
*,what => 'BEGIN INVS_RIM_DATA_LOAD(''01A'',''RIMADMIN'',TRUNC(SYSDATE)); END;'*
*,next_date => to_date('15/08/2011 23:09:00','dd/mm/yyyy hh24:mi:ss')*
*,interval => 'TRUNC(SYSDATE+1)+23.15/24'*
*,no_parse => TRUE*
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
END;
commit;
For taking the cold backup, db is shut down on every Friday 11:00PM and open by 02:30 PM Saturday. So job expected to run on Friday night will be running by Saturday 02:30AM. It is ok for us. But problem is job is not running on Saturday night.
When checked on Sunday morning the user_jobs shows details as
Last_date : 13-Aug-2011 02:30:14 AM
Next_Date : 14-Aug-2011 11:09:00 PM
Issue we are facing is job is not running on 13-Aug 11:09:00 PM
Please help me to fix this issue.Well, it runs on the expected time (for me). This is your interval: TRUNC(SYSDATE+1)+23.15/24
If the last job run at 13-Aug-2011 02:30:14 AM, then the next one should be:
= TRUNC( '13-Aug-2011 02:30:14 AM' + 1 ) + 23.15/24
= TRUNC( '14-Aug-2011 02:30:14 AM' ) + 23.15/24
= '14-Aug-2011' + 23.15/24
= '14-Aug-2011 11:09:00 PM'
You can create an additional job which will work at Saturday nights. This is the easiest fix I can think.
Regards
Gokhan Atil -
The message: "Severe Error; Can 't load resourse file; can not run" appears after closing Firefox4. All other applications on my pc do not have this problem.
I've found text of this error in npdjvu.dll plugin, remove it and error seems to disappear.
-
When I booted my computer up from cold and click firefox to run it sat there and tryed to load instead it sits there and does the nor responding thing. I have totally uninstalled the program a few times and re installed a new download and the same thing happen. I can not run firefox any longer and i have run it everyday for a very long time. This seems to be the only program with an issue.
None of the stuff in " http://kb.mozillazine.org/Locked_or_damaged_places.sqlite " helps. I have tried and tried and I have even wipe the computer clean still didn't help. I got the same problem as he/she has got in the first posted. Can add some web pages but not all the web pages I want.. I should have never updated to 3.6.13... That's when it all started for me, from that version..... Now Version 3.6.14 is out, I was hoping the version 3.6.14 might would fix the problem wrong again....
Funny thing is i can not even Bookmark Firefox.com!!!!!...lol
So any ideas on how to fix it other than the link giving would help.
Thanks. -
MRP not running - Issue with Planning File
Hi
In MD06 - MRP List, I see MRP list last generated on 5/30/2008. There is a production order
with requirements date of 3/27/2008 which has been met but is still showing up on the MRP List.
The goods issue for the production order was posted on 7/30/2008. The goods receipt for the purchase order of material is posted on 5/6/2008
IN the stock requirements screen (Transaction: MD04), there is no entry except the following:
8/29/2008 Stock Available Qty = 0
There is no entry in the planning file for this material. We run MRP automatically in the night using MD01 and this is not cleraring up the MD06 - MRP list.
Why was not the planning file entry generated?
How do i resolve this issue?
Please help.
KetanHi,
It is perfectly ok for not having the planning file entry for this Material.
Create a PIR for this Material now, and acheck whether system will creates the planning File entry or not..
Inspite of having the Demand for the Material, when there is no planning file entry is a problem..
But, every time there will not be a Planning file file entry, unless there is a change with reference to the Planning..
Regards,
Siva -
Have terminal NOT run a script when it loads
I recently wrote a basic shell script and saved it as a .command file to run from the desktop. Since then, whenever I open the terminal it automatically runs the script then exits the terminal. If I hide the file (mv pt-noplugs.command .ptnoplugs.command) it simply opens the terminal and closes it immediately. I have tried changing the default shell from bash to something else but this doesn't seem to make a difference. I also don't seem to have a .bashrc file when it normally is /home/user/.bashrc (I'm used to linux). Any help would be appreciated. Below is the script:
# Shell Script to start Pro Tools HD with no waveshell Plug-In
echo "*"
echo "* Script: pt-noplugs.command"
echo "* Please Leave This Window Open Until ProTools Has Exited"
echo "*"
# Move waveshell Plug-In Files to Plug-Ins (Unused)
cd "/Library/Application Support/Digidesign/Plug-Ins/"
mv -v Waveshell-DAE_5.9.1.dpm "../Plug-Ins (Unused)"
# Start Pro-Tools
/Applications/Digidesign/Pro\ Tools/Pro\ Tools\ HD.app/Contents/MacOS/Pro\ Tools\ HD
# Restore Plug-Ins directory
cd "../Plug-Ins (Unused)"
mv Waveshell-DAE_5.9.1.dpm ../Plug-Ins
echo "*"
echo "* Thank You. This Window May Now Be Closed"
echo "*"
exitI forgot to add: when I login as a different user and load terminal is does NOT run the script mentioned before.
-
Imported Jar file not loaded at run time ORA-105100
Oracle 9iDS forms Version 9.0.2.9.0
Oracle 9iAS Release 2
I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
Thanks in advance for any assistance that is offered.Hey people any clues?
-
I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is doing the same could not install. Even after I registered my copy. The last time I used this program it showed up under tools and worked great. any suggestions on whats going on and how I can get around this?.by ralphd3g
Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check. -
Simple Operational Profile and Plan does not run against agent
So i'm attempting to use the Operational Profile function of Ops Center to extend some functionality which it does not have (set up bonded interfaces during build process of OL 6.x)
However my script is having issues it never seems to run as a remote shell. So I simplified it, and broke my script down to simply
#!/bin/bash
/bin/pwd
/bin/ls
exit 0
And it still failed to run.
I've poured over the documentation, my script runs fine when manually incanted from the command line.
I've attempted following https://blogs.oracle.com/oem/entry/ops_center_using_operational_profiles but as you can see even my simple of simple plans does not run, let alone anything more complex.
Full job logs:
Job ID : EC-SERVER.com.au.664
Job Name : do ls script;AGENT
Job Type : Execute-DeploymentPlan
Job Description : -
Run ID : 1
Status : FAILED
Mode : Actual run
Owner : xvmadm
Create Date : 11/11/2014 09:03:04 AM EST
Start Date : 11/11/2014 09:03:04 AM EST
Last Updated : 11/11/2014 09:03:08 AM EST
Execution Order : PARALLEL
Failure Policy : CONTINUE_ON_FAILURE
Task : AGENT
Task : CmpExecuteTask
Task : ExecuteTask
Task Run ID : 24369
Target : AGENT
Status : FAILED
Result : Task failed. (15030)
Logs :
11/11/2014 09:03:04 AM EST INFO EC-SERVER.com.au.664.1.24369 acquired the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
11/11/2014 09:03:04 AM EST INFO Task is posted to the Proxy Controller (PC-SERVER.com.au-172a7b21), from the Enterprise Controller. (15011)
11/11/2014 09:03:08 AM EST INFO Task is received by the Proxy Controller. (15012)
11/11/2014 09:03:08 AM EST INFO Task is posted to the Agent Controller (AGENT.com.au-abf1fc69), from the Proxy Controller. (15013)
11/11/2014 09:03:08 AM EST INFO Task is received by the agent controller.
11/11/2014 09:03:08 AM EST INFO EC-SERVER.com.au.664.1.24369 released the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
I wanted to avoid raising an SR for something so potentially trivial, but what the heck is going on here?Nothing? no one uses this functionality?
-
ITunes would not run & load on Windows 7 starter 32 bit
Hi,
I'm having a problem with iTunes and it will not load and run I would clic the icon and nothing happens, it doesn't even load. I have already unistalled the application and tried to repair it, I also restarted my computer. I had already had iTunes on my current PC but one day it stopped working. I also open the application and not the shortcut and still the same.
Windows 7 - starter
32 bit
iTunes 11Tried to uninstall and reinstall error codes , error 2 also windows error 2 , apple application support error installing and I get this big long one 8.0 ver windows32 . Took the computer too staples tech guys they said it had something to do with apple and iTunes not supporting 32 bit version of windows 7 ?
-
I have an I pad Mini. Since i down loaded the new update ISO 7, my I Pad is not running certain media files either from Chrome or Safari browser. I called technical support but they failed to provide any help stating the media files may not be compctable with new soft ware. I do bnot agree with their finding because i have I phone with ISO 7 updated soft ware and same files run on my I phone but not on I Pad. This was working fine before updating new software. This device is useless for me if i can not watch the program that i bought this for. I want device to replaced or taken back by the company. Thank you
Here are the iPad Mini specifications:
iPad mini - Technical SpecificationsNov 1, 2012
The specifications explain exactly what types of files are supported under "TV and Video". -
The problem is this: the last time i ran the windows, but he hangs and died (can not run further the logo). now i can not load not windows, not maс! how to be, what to do???
can any body help me, plz!!
Maybe you are looking for
-
Portal Runtime Error in Performance Overview
Hi Experts , I am getting portal runtime error while accessing performance overview and this error is occurring in test system not in prod. I have only passed our custom parameter in "ViewGroup" and "ViewID" , which comes under property Editor of Per
-
Hi We use our BB for work and have just transferred our emails to another hosting provider so we all have to put in a new password to receive our emails but in order to do that you must put in your BB user name and password. I was successful on 2 pho
-
How to create a playlist with podcasts AND music?
I created a playlist with both podcasts and music in it. The thing is when I try to shuffle it, only music plays. When I start playing podcasts, none of my music plays. How can I make them both play at the same time and shuffle on the same playlist?
-
When I am on my home wifi I can send e-mail. When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail. HELP HOW TO FIX.
-
When I was using the temp system demo vi, I selected Help>>Search the LabVIEW bookshelf. I then had a pop up window display tell me that the manual file "D:\National Instruments\LabVIEW 6.1\manuals\lvlib.pdf" could not be opened. I then did a search