AI Background Process Scripting
I remember being able to run scripts and actions in CS, & CS2 but in Illustrator CS3 I can not work in the background while my SaveToPDF script runs. For example if I want to read and respond to emails, AI draws itself to the front after processing each file. Is there any way to force a script to run in the background?!
Hi,
Can you check the application log, any information say in the log file say about the calculation already finished?
Thanks
Similar Messages
-
Find out the process id from a background running script
Hello all:
I created a java service and use a shell script to drive it from background. In the script, I have code like this:
javac myApp & I want to find out the pid for this process. After googling for a while I came up with this:
echo $$ > test.pid However, I notice two things:
1. This only works when my script runs frontground, meaning only when I remove "&";
2. The pid file, test.pid, won't be created until the running script exits, after I clicked ctrl+c, for instance.
Now the question is, how can I find out the pid of a background running script from within the script itself?
I don't want to use code such as ps -ef | grep .... because of the possible name conflict.
Thanks,
JohnnyYes, but as far as I understand this can happen to any background process, for instance, when the user logs out while a background process is still running.
But using the "$!" variable as you've shown is the "correct" solution.
This is probably what the OP is looking for:
javac myApp & echo $! > test.pidFrom the bash man page:
$ Expands to the process ID of the shell. In a () subshell, it expands to the process ID of the current shell, not the subshell.
! Expands to the process ID of the most recently executed background (asynchronous) command. -
Starting essbase as background process in 11.1.2
Hi,
We have installed 11.1.2 hyperion products. We are having issues with OPMN and its starting up.Without opmn we can start essbase in freground ..using the script
startEssbase,bat file in D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin. startEssbase.bat in this folder starts essbase onforeground.
the link between opmn and essbase is broken. So we want to start essbase without opmn control. startEssbase.bat in the D:\Oracle\Middleware\user_projects\epmsystem1\bin doen't not do anything as opmn link is broke.
Can anyone provide soem suggestion on how I can make Essbase run ias background process without opmn.
I have used option like start /b startEssbase.bat./ but did not work.
Thanks
SrinivasThese work for me
export outline sample.basic all dimensions to xml_file "D:\sample.xml";
export outline sample.basic list dimensions {"Measures"} tree to xml_file "D:\SampleMeasures.xml";
Ran from a client machine and it creates both the files on the local client machine.
Have you tried running on the server, are you using a different version of Maxl from the server?
Cheers
John
http://john-goodwin.blogspot.com/ -
Java code running as background process in Linux causes high CPU util.
I'm running a piece of java code as a background process in Redhat 7.1 . When I specify to run it as a background process (using the '&') at the command line, I get CPU utilization at around 5% and it dips.
When I edit the script that runs the java code to specify running it as a background process withint the script itself (java ..... &) and then go to the command line and run the script, the CPU utilization shoots up to 95% and stays at the low 90's - very high 80's range for the CPU utilization..
I'm hoping someone has any idea for this behavior and a way to fix it.
Thanks in advance,
Sarat..This is an interesting post and i'm sory i don't have time to
experament before i answer
you could of course run the script as background
*.sh &
but that's probubly not what you want
I think the solution lies in giving the
proccess a job number %n
then setting it %n &
it might even work to
put something like %java &
Anyway when it's running fullout
it is because it is in the
current terminal process group PID.
wish i could help more -
Debug during background processing
Hey
i hav an doubt...
suppose to any Zprogram am executing in background mode and during this i want to debug..
is it possible ??
I want to Debug my Bank Payment Advice Script as well as its Driver program used in Cheque Printing
can u tell me how to debug it ?
evenif am putting break-point its not happening..B'coz we are generating spool in F110 and its run in background mode...
Is there no solution to this ????
Thanks in Advance
SATYA>
hari hara wrote:
> Hi,
>
> First you need to put break point in printprogram where ever you want to stop the execution.
>
> After in se71 give your formname and go to Utilities->ActivateDebugger
>
> Then go to your transaction like VF03(For invoice or credit memo ) to see the print preview execute it .
>
> When You execute it form debugging will get activated and you can see your form execution step by step .
Dear hari Hara,
i know this process
but it will not work in background processing
Edited by: Satyabrata sahoo on Oct 15, 2008 9:59 AM -
Why may any user leave background processes running at will?
Hi all,
yesterday, I encountered a rather strange problem with linux in common, at least
I think so.
In my .xinitrc, I'm starting offlineimap - a console-based mail synchronization
tool - in the background. Being naive, I expected it to be killed along with the
gui applications started in that file. Yet, that assumption proved wrong and I
started asking for help on how to kill that process on #archlinux.
The guys there (again, thanks for your help and patience!) all came up with
plenty of ideas on how to avoid starting more than once instance of the program,
but that wasn't really what I was looking for. The only usable option came from
anrxc, who suggested killing the program from awesome's logout hooks.
Not fully satisfied with the solutions, I started thinking and came up with the
following question:
Why is every user allowed to leave background processes on the machine
just as he pleases, even if he logs out?
I even tried this over ssh, where the launched commands have some sort of
"parent" process, but even in this circumstance it was possbible to leave
background processes behind after logging out.
I mean, on my desktop system, this is not a big issue... I shut it down once
every day at the least and there are no users on it besides my girlfriend and
me. But this seems like a fundamental problem to me. Why is this allowed at all?
Does it make sense to do it that way? What are the consequences?
Let's discuss!JohannesSM64 wrote:Really, you need to find a better way to manage offlineimap than starting it in xinitrc. Automatically killing any background processes on any logout will not make linux better.
Hmm... to me, .xinitrc is the place to start apps which should live just as long
as the graphical user login lasts. On #archlinux, several other places were
discussed, but none of them were "the thing":
.bashrc
Doesn't work, because a) the process would only get started when I open a shell,
not when I log in and b) because finding a place to stop the process would be
even harder.
.bash-profile
Only gets executed for a login shell, which I wouldn't account for a graphical
login at all.
wm startup script (in this case awesome's rc.lua)
Possbile, but not much better. Would fork the process all the same, merely
moving the problem. If X got killed, not even awesome's logout hooks would
apply.
Also, this approach isn't wm-agnostic, so trying out / switching to another wm
would have the problem occur all over again.
So what do you suggest? Do you have a good idea?
pseudonomous wrote:
As to the question of "why" things act this way:
I believe this is linux display it's heritage as a mulit-user operating system that people used terminals to log into to run program on. A big place where unix used to be (and is, to some degree, still used) was in universities where a professor or graduate student might have logged onto the system to run some program to process some large set of data. You wouldn't want to sit around and wait for this program to finish; you'd want to run it in the background, leave, and come back and look at the results a week later, when the program finished running. One of my friends doing applied math research still does this sort of thing. I'd imagine it's relatively common.
Process management was largely handled be systems administrators, and commonly you were being billed for CPU time, so it was in your interest not to leave programs that you didn't want to run running when you logged out.
Hmmm... that seems like a rational explanation. But in the case that is the
reason for linux' behavior: Why isn't there some kind of a mode setting? Like
one which allows any user to keep processes alive and another one that doesn't? -
Folks, running V8.0.5 on an NT 4 Server. Database won't start,
usual ORA-3113 issued. Turns out when I check the trace files
that Checkpoint process is falling over with a 210 error. As
this is an error associated with a background process I cannot
find any documentation that will give me a clue as to why it is
falling over. Grateful for any help. Enclosed is a sample of the
SIDCKPT.LOG file
*** SESSION ID:(4.1) 2001.10.05.08.41.20.453
error 210 detected in background process
Dump file D:\orant\RDBMS80\trace\we99CKPT.TRC
Fri Oct 05 09:00:54 2001
ORACLE V8.0.5.0.0 - Production vsnsta=0
vsnsql=c vsnxtr=3
Windows NT V4.0, OS V5.101, CPU type 586
Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production
PL/SQL Release 8.0.5.0.0 - Production
Windows NT V4.0, OS V5.101, CPU type 586
Instance name: we99
Redo thread mounted by this instance: 0 <none>
Oracle process number: 5
pid: 1c4
End of MessageHi,
Response as per your similar question on 12th July:
Check the value of distributed_lock_timeout database parameter.
If the parameter is not set, it will default to 60 seconds. Try increasing this value to at least 120 and retry.
If the solution above does not work, one of the first places to look when assessing problems with the engine is the
Oracle Workflow Monitor. Where this is unavailable, run the script wfstatus.sql
$FND_TOP/sql/wfstatus.sql - Embedded in Oracle Applications
$ORACLE_HOME/admin/sql/wfstatus.sql - Oracle Workflow Standalone -
Hi,
This is regarding the background processes of essbase.
we can find the status of background jobs when they got finished or failed in the Background processes window, but while it is running is their any way to find out whether it is running properly or if it is taking long time (why it is taking long time)
Anybody please advice me on this.Hi,
1- Create calculation script and use calculation commands like Set Message Summary|Detail, Set Notice High|Low and then calculate database as per requirement. Then create a Maxl file and define Maxl command SPOOL ON TO 'Log.txt' and then execute above defined calculation script. All details of calculation will be captured in log.txt file i.e. how much calculation is completed.
2- Also you can verify whether calculation is working or not by checking essx.pag, essx.ind files (located at ARBORPATH\App\appName\dbName) are creating\updating or not.
Atul K, -
EAS background processes status window is not listing the processes
Hi All,
When I choose to run a calc/report script at the background in EAS i dont see that process in the background process status window, it is just blank. but when i goto the session window to check, the process is still running. So background process status window is not list any processes that are chose to run at the background. Did anybody have this issue? Really appreciate your help to solve this problem.
We are using Essbase 11.1.2.1. The issue is in the nonprod environment but it works fine in the prod environment which is running the same version.
Thanks for you help..
MDHi Shiva,
When I run a calc from EAS and If I choose to run at the background, I should see that process and all previous processes that were run at the background in "Background Process Status" window but i don't see anything there. What do I need to do in ESSVR?
Hi Celvin,
This is the JRE version and same in prod too.
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Oracle JRockit(R) (build R28.0.2-11-135406-1.6.0_20-20100624-2119-linux-x86_64, compiled mode)
Thanks -
Force redraw before background processes start?
I am working on adding images to an HBox. After the user chooses the images from their hard drive, they are resized, JPEG-encoded then uploaded to the server.
The problem is that the selected images don't show up in their Image controls in my HBox until several seconds into the process. I want them to show immediately so the user knows it worked, and they can keep going while the app runs the background processes.
I have tried several things, including placing event listeners for when the Image is added to the HBox:
hboxThumbnails.addEventListener(ChildExistenceChangedEvent.CHILD_ADD,updateHBox);
In the listener I have tried invalidateDisplayList, validateNow and invalidateProperties. I have also tried calling these functions in other locations in the code prior to it starting the background processing code.
None of my attempts work. Typically the images show up in the HBox about halfway through the uploading process. (5-20 seconds depending on number of images selected)
I have had other instances where I need to force a redraw/refresh of a certain component while code is running, and I always face a similar problem. Is there any way to prioritize a redraw?
Thanks.
PaulHuckleSmothered wrote:When I run a command in the terminal that I want to have in the background, it still shows some output. I can still hit ctrl-L to get a command line I can type into, but if something happens with the previous background process, it will still show up in the terminal. This makes it difficult to type and use this terminal window any longer. Very frustrating.
What kind of output is shown - errors, warnings?
HuckleSmothered wrote:I've noticed that this also happens when booting up. The daemons start but I'll have a login prompt at the command line before the daemons state if they have started. Hence, I have to type my login after the text for this section of startup script. Very odd.
I've seen another thread with this problem, I'll thy to find it.
Edit: Here it is, see the screenshot: https://bbs.archlinux.org/viewtopic.php?id=129306 No solution yet.
Last edited by karol (2011-11-06 16:31:09) -
GUI_DOWNLOAD and background processing
Hello,
I have created a process which creates a file. this process uses GUI_DOWNLOAD to put the file on the users C drive or other directory on our network. The user wants to run this process in background and the program is returning a 6 (error unknown) from the GUI_DOWNLOAD FM. I was looking on SDN and found out the GUI_DOWNLOAD only works in foreground. You have to use OPEN and CLOSE DATASET statements to process in background. I am thinking about putting a button to denote foreground/background processing and using the appropriate statements to process the file. I will then have to get the file from the app server to a place will the user can get access to it.
<b>first question</b> - is there a FM to do a FTP from the app server to a directory on our network for the user to access?
<b>second question</b> - is this the right approach or is there something else that I should be doing.
thanks in advance for your helpHi,
Yes, your right, GUI_DOWNLOAD wil not work in background mode, you need to place the file in Application server, here.
See the below link for a FTP program, use the proper commands(i do not know whether downloading the file is possible through the commands)
http://www.sap-img.com/ab003.htm
or else, write a small program which downloads the data from the application server, but it should run in the foreground
Regards
Sudheer -
The request could not be submitted for background processing.
Post Author: Chriss
CA Forum: Administration
It's an BOE XI SR2, on Win2k3 server, with a print cluster with two print spools, handling 3000+ printers. I discovered this error to be intermittent and only on one of the spools. It turned out that the only common factor was an HP4250 print driver. I backed all the 4250s down to 4200 drivers and the intermitent error ("Error in File. The request could not be submitted for background processing.") went from about 100 a day to zero. The other spool had a different version of the HP4250 driver and would on rare occassion cause this error, "Error in File ... Page header or footer longer than a page." but never the background processing error.
For reference, when I got this error in XI R1, this was the solution for 'the error with one name and many causes':The error "The request could not be submitted for background processing" can be related to a corrupt or wrong versioned crpe32.dll in the Crystal bin folder. Renaming to crpe32.dll_bak and using the repair command in the the "Add/Remove Programs" tool in the "Control Panel" will reinstall the correct dll. Then restart the Crystal services.Post Author: krishna.moorthi
CA Forum: Administration
For Crystal reports :
Error : "The request could not be submitted for background processing"
I think,this was not related to a corrupt or wrong versioned crpe32.dll.
but the below mentioned is one of the reason for getting this error.
I got the error when the main report(crystalreports10) having more than 2 subreports not assigned proper tables for the subreports.
Example: (this code raise the abone mentioned error.)
rpt.SetDataSource(Exdataset);
rpt.Subreports["subreportname1"].SetDataSource(Exdataset); // Exdatatset.Tables[1]
rpt.Subreports["subreportname2"].SetDataSource(Exdataset);// Exdatatset.Tables[2] -
How to Create Excel File in Background processing with different colors
HI All
I am trying to create Excel file in background & send it to user through e-mail, this i could acheive using fucntion module SO_DOCUMENT_SEND_API1, but here my requirement is i want to put different colors to columns of excel & this should happen in Background processing,
Initially i completed above requirement by using HTML type of document with attachment type 'ALI' & formatted output using write statement & used colors, after that i took this o/p using save_list function module & then table compress...etc.
but i don't know how to achieve same if we need o/p in excel as size of object of excel file is less than that of HTML
I am thankfull to everybody who will help me.
Regards
LokeshLokesh,
Iam also trying to populate my text file with colors as an attachment . If you know this please let me know. -
Data of alv report in excel file in background processing using open datas
Hi Experts,
I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
i used open dataset read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
Regards,
RahulHi Rahul,
Ur code shud be like below:
DATA : l_filename2 TYPE string,
v_extn.
SPLIT p_filename AT '.xls' INTO l_filename2 v_extn.
CONCATENATE l_filename2 'downloaded' INTO l_filename2 SEPARATED BY '_'.
CONCATENATE l_filename2 'txt' INTO l_filename2 SEPARATED BY '.'.
OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
IF sy-subrc <> 0.
MESSAGE e499(sy) WITH text-e02.
ENDIF.
LOOP AT it_order_number INTO wa_order_number.
TRANSFER wa_order_number TO l_filename2.
ENDLOOP.
CLOSE DATASET l_filename2.
Now, go to tcode AL11 and check it in the Application server itself.
Hope this helps,
Regards,
Arnab. -
Hello friends,
I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
Plz guide me if i have missed something in the setups.
thanks,
SachinHi Sachin,
pls check the below notes from MOS
Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
Thanks
-Arif.
Maybe you are looking for
-
IPod nano 6th gen shuts down instead of Sleep
I've recently acquired an iPod nano 6th generation and it has an issue that's killing me inside: instead of turning off the screen, like the Sleep function, every one minute or so the iPod shuts down. It's not exactly the same as turning off complete
-
HP LaserJet 6L won't work with Windows 8
Good afternoon all, Right I inherited this great little printer last year, it worked great with Windows 7 but now it wont work with Windows 8, it appears to be installed and the drivers are all up to date but when I use it to print a pile of random c
-
'...because it was created by a newer version'
These day whenever I try to open iTunes, it says: 'The file "iTunes Library" cannot be read because it was created by a newer version of iTunes.' So I press okay and nothing happens and then click on iTunes icon again and it opens up fine. How can I
-
Sneak Peek : Perspective Warp in Photoshop | Adobe Technology Sneaks 2013 | Adobe TV
Ever wished you had gotten closer to take your picture? Perhaps you were not right in front of your subject, or were too high or too low? This Photoshop sneak will let you adjust the perspective of parts of your shot while keeping the rest of the ima
-
Firefox suddenly closed on me while trying to browse a page. When I tried to reopen it nothing happend. I even tried launching from the task manager Nothing. I have loged off and restarted my computer and uninstalled and reinstalled firefox. Still no