Menu
  • HOME
  • TAGS

job don't run properly when using several tBufferOuput/tBufferInput couples in in it in Talend

java,buffer,etl,jobs,talend

If you aren't passing the data to a parent job and are instead keeping the data inside the same job (just multiple subjobs inside) you'd probably be better off with the tHash components. This allows you to cache some data (either in memory or temporarily to disk) and then retrieve...

SQL Server 2012 - Hanging

stored-procedures,sql-server-2012,jobs,hang

Check out my blog post Unexplained SQL Server Timeouts and Intermittent Blocking Here is the section that might give you the clue you need. If the stored proc getUserPrivileges didn’t have enough problems for you, then let me add: it probably gets recompiled on each call. So SQL Server acquires...

Job not executing at fixed rate

spring-mvc,jobs,execution

The difference is about time rather than number of tasks. Fixed rate will keep track of time and spun new thread to match the fixed-time of 5 seconds. So in short, you would not have multiple threads as you are expecting. In 15 seconds, there should be three executions. But...

Broken jobs, triggers or packages alert

sql,oracle,triggers,packages,jobs

Depends somewhat on what you mean exactly by "broken", but if you mean that the code has been invalidated: SELECT object_type, object_name FROM user_objects WHERE status = 'INVALID' or use dba_objects if you have access to it and want to check all schemas at once....

how to identify user who created a specific job on jenkins?

jenkins,jobs

The JobConfigHistory Plugin is ought to display a column User. And so does it in my Jenkins (v1.609.1) when I select a job's Job Config History at the bottom of the sidebar menu immediately after creating a job. (Though I agree: There's no Created there, just Changed. But, changing from...

Can't queue jobs using NodeJS async

javascript,node.js,jobs,child-process

You'll need to invoke done after a process has finished. Try this: function setup_R_job(opts,done) { log('starting '+opts.params.pop()); var params = opts.params; delete opts['params']; var R = spawn('phantomjs', params, opts); R.on('exit',function(code) { log('got exit code: '+code) done(); }) } You could also add some error handling there ie. but this might...

How to cleaning hadoop mapreduce memory usage?

hadoop,memory,mapreduce,jobs,yarn

Maybe you can try the linux clear memory command : echo 3 > /proc/sys/vm/drop_caches ...

Laravel 5.2 Job with delay fires instantly instead of waiting

php,laravel,laravel-5,jobs

The issue ended up being the queue driver (in config/queue.php) was set to 'synchronous'.

Start-Job -ScriptBlock: Retrieving an array that is compiled inside the ScriptBlock

arrays,powershell,jobs

You need to write the array out to standard out. $HSMissingEmail = New-Object System.Collections.ArrayList $HSDataObjects = New-Object System.Collections.ArrayList $HSMissingEmail = Start-Job -Name HSMissingEmailStatus -ScriptBlock { param($HSDataObjects, $HSMissingEmail); foreach ($HSDO in $HSDataObjects) { $HSDO = $HSDO | Select-Object Name, Location, Telephone, EmailAddress, Comments; if ($HSDO | Where-Object {$_.EmailAddress -like ""}) {...

Parse.com pushnotification shedule error

background,parse.com,push-notification,jobs,cloud-code

Parse.Cloud.job("PushNtfct_job_TimeEnable", function(request, status) { function dateFormat(date, format) { // Calculate date parts and replace instances in format string accordingly format = format.replace("DD", (date.getDate() < 10 ? '0' : '') + date.getDate()); // Pad with 0 if needed format = format.replace("MM", (date.getMonth() < 9 ? '0' : '') + (date.getMonth()...

Why isn't my BAT file variable being overwritten?

windows,variables,batch-file,jobs,overwrite

This is a common mistake when using FOR and parentheses. The problem is that by default every variable between ( and ) is evaluated when the line is first read, and then re-used for each iteration of the FOR. If the variable changes during the loop (via SET), then you...

Stopping and restarting RAM-hungry python scripts, while saving data (linux)

python,scheduled-tasks,jobs

Stackless Python is the answer to this, as it can serialize a full python process at any given time & then restart it later. http://www.stackless.com/wiki/Pickling...

Torque pbs_python submit job error (15025 queue already exists)

queue,jobs,pbs,qsub,torque

There are two things going on here. First there is an error in pbs_python that maps the 15025 error code to "Queue already exists". Looking at the source of torque we see that 15025 actually maps to the error "Bad UID for job execution", this means that on the torque...

Jenkins jobs running on slaves

security,jenkins,jobs,master-slave

I have found this plugin which does exactly what I wanted. It restricts the job execution on a node base on the job name https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin Thanks for your time anycase...

Running background process (webserver) for just as long as other process (test suite) executes

bash,shell,unix,npm,jobs

You can try this: # .. preliminary work .. webserver & PID=$! test_suite & (wait $!; kill $PID) This will work as long as you don't mind both commands being run in the background. What happens here is: The webserver is started in the background. The pid of it is...

Job with create table

sql,sql-server,jobs

dbo.sp_start_job just starts off the job and returns immediately. It doesn't synchronously wait for the result of whatever processing the job is doing. You would probably see the expected error message if you check the job history....

How to set multiple pidfile in sidekiq.yml file?

ruby-on-rails,queue,task,jobs,sidekiq

You cannot do that. pidfile is designed to be a command line arg only.

Parse Cloud Background Job does not stop execution with call of .success()

javascript,node.js,cloud,parse.com,jobs

I don't think status.success() terminates the job (maybe status.error() does). In any example I have seen, status.success() is only used to indicate that the job has finished successfully. If status.success() is not called, the job will time out after 15 minutes. You need to use other functionality to abort code...

SQL Server Job Agent don't execute SSIS Package

sql,sql-server,ssis,package,jobs

I find a solution for this problem. I created a batch file which executes this packages with the dtexec.exe Then I created a task (in the server task scheduler) which executes the batch file - now I have an automatically daily import without any problems....

Pass status from child job up to a parent job in PowerShell

powershell,jobs

Ultimately, I did have to use Write-Progress - the final code (which I'm not really proud of) looks like this: $child = Convert-VHD -Path $VHDPath -DestinationPath $NewVHDPath -ComputerName $TargetServer -VHDType Dynamic -ErrorAction 'SilentlyContinue' -AsJob $child.Name = "... primary conversion work for $VHDPath" Write-Progress -PercentComplete $child.Progress[-1].PercentComplete -Activity $child.ChildJobs[0].Progress[-1].Activity -Status $child.Progress[-1].StatusDescription while...

What is the cron definition for each minute for a job in grails?

grails,cron,quartz-scheduler,jobs

You can use this: 0 0/1 * * * ? According to the doc Either Day-of-Week or Day-of-Month must be "?", or you will get an error since support by the underlying library is not complete. So you can't specify both fields, nor leave both as the all values wildcard...

SQL Server : change automatically generated Job Notification Email

sql-server,email,jobs

I know of no way to modify the built in emails SQL Agent sends. The template is hard coded, as far as I'm aware. You could use customized notifications. Basically, add a step after the last step in SQL Agent, then use that step to send the success email. Since...

Basic cron job issue

javascript,html,insert,cron,jobs

Use cURL or wget in your cron job script, with localhost as the hostname in the URL that you fetch. That way, you'll be invoking your web page via the web server (typically Apache, but not necessarily), which will run PHP. You'll have to set up a particular webpage/URL to...

Sidekiq retry only in production environment

ruby-on-rails,ruby,jobs,sidekiq

You should be able to set them in one place by modifying the default worker options: https://github.com/mperham/sidekiq/wiki/Advanced-Options#workers For example, config/initializers/sidekiq.rb: if Rails.env.development? Sidekiq.default_worker_options = { retry: false } end ...

Windows Batch File that Copy Rated Files

windows,batch-file,jobs,rating

Check tooltipinfo.bat.If the passed item is rated it will have in the output something like : Rating: 5 Stars so you need the tooltipinfo.bat in your directory.Then create batch file like : (not tested) @echo off set folder_with_the_items=C:\photos_and_videos set destination_folder=C:\somewhere_else for /f "tokens=* delims=" %%a in ('dir /a:-d /b /s...

Laravel queued jobs processed immediatly even with a delay

laravel-5,jobs

You have to setup the queue driver you want to use in your project's root dir's .env file. By default, the queue driver is sync which does exactly what you are describing, executing queues immediatly. You can choose of some different queue drivers such as beanstalked or redis (which would...

Oracle DBMS_SCHEDULER.DROP_JOB fails to drop a job

oracle11g,jobs

For anyone interested, I found my mistake! The below execution was successful: SQL> exec DBMS_SCHEDULER.DROP_JOB(job_name => '"MyCaseSensitiveJobName"'); PL/SQL procedure successfully completed. i.e. I should have wrapped the double-quoted job name in single qoutes! ...

Add a progress bar to a Job in RCP

java,eclipse-plugin,eclipse-rcp,rcp,jobs

Normally jobs show a progress indicator in the progress view and in the status line at the bottom of the main window. If you call setUser(true) before schedule() then the job will show a pop-up progress dialog if the job runs for more than a few seconds. To show job...

Finding the percentages of missing information in each column in parallel using bigmemory and parallel packages in R

r,parallel-processing,apply,jobs,na

I got the answer. When we call big.mat we should use [,] so here's the partial answer. > colMeans(is.na(big.mat[,])) Year Month DayofMonth DayOfWeek 0.00000000 0.00000000 0.00000000 0.00000000 DepTime CRSDepTime ArrTime CRSArrTime 0.02102102 0.00000000 0.02402402 0.00000000 UniqueCarrier FlightNum TailNum ActualElapsedTime 1.00000000 0.00000000 0.97997998 0.02402402 CRSElapsedTime AirTime ArrDelay DepDelay 0.00000000 0.02402402 0.02402402...

Transfer Data from SQL Query to i Series (AS400)

sql,odbc,ibm-midrange,jobs,transfer

The table PEPAPPTS is not journaled on DB2 for i. Have the DB2 sysadmin journal the table. If that is unacceptable for some reason, turn off commitment control in your driver. Use IsolationLevel *NONE (or perhaps Chaos). For the documentation, see: Start > Programs > IBM i Access > Programmer's...

Laravel: Schedule tasks using Beanstalkd

php,laravel-4,jobs,beanstalkd

You should be using cron for this - not Beanstalkd. For Laravel 4 the best option is to use the Dispatcher package: https://github.com/Indatus/dispatcher This will allow you to schedule specific artisan commands to run at various times....

Hadoop Pig job not running

hadoop,apache-pig,jobs

I unblocked the situation while getting aware that my hard drive was 90% full. At this level, hadoop refuses to write anymore logs. I just had to delete some (big !) files to get it running again...

Parse background job query iterations are returning before fetching data

parse.com,jobs,cloud-code

Don't mix promises with callbacks, choose 1 of the 2 approaches and stick with it. Mixing and matching generally means something gets dropped and your function exits early without calling the status handler. Using promises will help you break the code up so its easier to follow. You shouldn't need...

Delete jenkins jobs having the matching pattern

jenkins,jobs

The following should work: for (job in jenkins.model.Jenkins.theInstance.getProjects()) { if (job.name.startsWith("Data_jobs_")) { job.delete() } else if (job.name.startsWith("Data_jobs_server")) { job.disable() } } ...

Trigger a runner everyday in Nodejs

node.js,jobs,runner

Maybe you are looking for something like node-cron.

Fill in “getCurrentlyExecutingJobs();” in a JTable

java,swing,jtable,quartz-scheduler,jobs

You need to fill up information in 2D array in your case. Code will look something like this - Object[][] data = new Object[9][2]; int i=0; List<JobExecutionContext> sf = scheduler.getCurrentlyExecutingJobs(); for (JobExecutionContext jobExecutionContext : sf) { data [i][0] = jobExecutionContext.getScheduler().getSchedulerName(); data [i][1] = jobExecutionContext.getJobDetail().getDescription(); i++; } ...

Parse.com: cannot create more than 9 objects using cloud job

javascript,parse.com,cloud,jobs

The code snippet below shows how to save multiple objects by using Parse.Object.saveAll. Parse.Cloud.job("createMySpecialObjects", function(request, status) { var MySpecialObject = Parse.Object.extend("MySpecialObject"); var count = 20 // 20 is greater than 9! var toSaves = []; for (var i = 0; i < count; i++) { var myObject = new MySpecialObject();...

Stop Advanced Python Scheduler Job After Closing Terminal

python,terminal,scheduler,jobs,shutdown

Find the process id and kill the process using kill <PID>, or simply pkill -f script.py.

Job Schduler install not working - sos-berlin software

java,mysql,scheduler,jobs

The problem turned out to be java. I had to reinstall java and use java 7. Something must have gotten messed up during my initial install of java.