Questions tagged [jobs]

A job is a process executing in the background, or scheduled for later execution. **DO NOT** use this tag for career, employment, or hiring practice questions, as these are off-topic!

A job in a batch processing system is a task scheduled for execution. For questions related to scheduling jobs, see .

In a Unix/Linux context, a job is a process or group of processes running in a terminal, which can be placed in the foreground or in the background. See . For questions about job control with a shell such as bash from a user's perspective, see the jobs and job-control tags on Unix Stack Exchange.

Note that questions related to jobs as in work, career are off-topic on Stack Overflow. Some questions about this topic are suitable for Workplace Stack Exchange; be sure to read the faq.

2834 questions
6
votes
1 answer

Spring TaskScheduler Bean not injected

I need to schedule a job when the a session is created. So I created my HttpSessionListener : @Component public class WebSessionListener implements HttpSessionListener { //@Autowired @Qualifier(value = "taskScheduler") private…
Yanis26
  • 247
  • 2
  • 13
6
votes
3 answers

Monitor google app engine cron jobs in console?

This might be a dumb question, but, i just can't find cron jobs panel, I've got an app in java and I need to refresh the data every day, so I create this cron.xml inside WEB-INF:
Jumper
  • 151
  • 1
  • 14
6
votes
1 answer

bg / fg inside a command line loop

ctrl-z (^z) acts in ways I do not understand when done inside a loop executed from a terminal. Say I type for ii in {0..100}; do echo $ii; sleep 1; done then I hit ^z. I'll get: [1]+ Stopped sleep 1 I can resume the job using fg…
Andrew Schwartz
  • 4,440
  • 3
  • 25
  • 58
6
votes
2 answers

oracle dbms_scheduler repeat_interval

I have a procedure named MY_PROCEDURE_X in a packaged MY_PACKAGE_X. My requirement is that the procedure need to be executed on 1st and 16th of every month. If it is running on 1st of the Month, then the time of execution should be 10:00 AM, If it…
ajmalmhd04
  • 2,582
  • 6
  • 23
  • 41
6
votes
2 answers

Automatically Removing a PowerShell Job when it has finished (asynchronously)

I have a PowerShell cmdlet which I use to simplify connecting to another computer with RDP. Within that cmdlet I run do the following: if ($null -ne $Username -and $null -ne $Password) { Start-Process -FilePath "cmdkey.exe" -ArgumentList…
Paul
  • 3,125
  • 2
  • 24
  • 21
6
votes
1 answer

Related jobs in JSprit

Is it possible to handle relations between jobs (in this case services) in jsprit? For instance one job has to start at the same time with one or more other jobs. Or one job must not start before the end of another job (normal sequence). If not, do…
Peter
  • 63
  • 1
  • 4
6
votes
1 answer

Spring Batch javaConfig: Conditional Flow

Is there any suggestions to the way to transfrom this xml config to javaconfig:
user3469745
  • 63
  • 1
  • 3
6
votes
1 answer

Using SMO.Agent to retrieve SQL job execution status - security issue

I've got a C# program that fires off SQL Server Agent jobs using the SQL Server Management Objects (SMO) interfaces. It looks something like: Server ssis_server = new Server( new ServerConnection(SERVER_NAME, SERVER_USERNAME,…
dalyons
  • 1,304
  • 3
  • 15
  • 23
6
votes
3 answers

Hudson : warning MSB3245: Could not locate the assembly "nunit.framework"

I'm working in a Virtual Machine as a Hudson Slave. In the virtual machine, I add the path to the MSBuild I want to use : %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\; I added also the path to NUnit : C:\Program Files\NUnit…
Farah
  • 2,469
  • 5
  • 31
  • 52
6
votes
4 answers

Monthly jobs on every 30th day using Quartz

guys, I have monthly jobs scheduled(using Quartz) by users. Users provide starting date f or first job to run, it could be any day of month 1-31 My question is how to schedule this using cron trigger, having in mind that not all month have…
ilu
  • 133
  • 2
  • 7
6
votes
1 answer

Equivalent in MySQL to MS SQL Jobs?

Is there a MySQL equivalent to the MS SQL Server jobs and job scheduling? Or is that kind of thing considered an application-layer thing in the MySQL world?
McGarnagle
  • 101,349
  • 31
  • 229
  • 260
5
votes
2 answers

How to get corresponding build artifacts of a job in jenkins ?

I create Jenkins jobs using hudson.cli.CLI jar. I have selected "Archive the artifacts" option in the "Post-build steps" section. It archives the artifacts on each succesfull build. I am using jenkins remote access api…
Muthu
  • 1,550
  • 10
  • 36
  • 62
5
votes
2 answers

How to complete a Job when user closes Eclipse application

I use org.eclipse.core.runtime.jobs.Job to execute stored procedure which deletes data and to update user interface according to the new data. Thus it is important that this job will be completed even if user closes eclipse application. final Job…
ka3ak
  • 2,435
  • 2
  • 30
  • 57
5
votes
0 answers

AWS SQS Error - Message must be shorter than 262144 bytes - Laravel Queued Jobs

So this one is puzzling our team at the moment and we can’t seem to get to the bottom of what is causing the error. We’re currently getting the following error from AWS SQS only for one or two jobs. Error executing "SendMessage" on…
Nick Davies
  • 573
  • 5
  • 15
5
votes
1 answer

Why does Write-Host not work when run in a powershell job?

Sorry if I'm being a dumb powershell noob, but what's wrong with jobs apparently being unable to write to the terminal? And how can I fix that? # test.ps1 function myjob { Write-Host "Hello, World!" # doesn't show } Start-Job -Name MyJob…
Binkan Salaryman
  • 3,008
  • 1
  • 17
  • 29