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
4
votes
2 answers

Laravel Test That Job Is Released

I want to test that the job has been released back onto the queue in certain circumstances. This is my job class: class ChargeOrder extends Job { use InteractsWithQueue, SerializesModels; /** * The order model which is to be charged …
Ed Stephenson
  • 704
  • 1
  • 8
  • 31
4
votes
0 answers

Job Scheduler in less than 21 API

i'm trying to make a scheduler that can give a notification to the user and start the app automatically when the condition is matched and that condition has to be a time that user selects. So for example you can select time 4 hours from now and…
ravi raghav
  • 85
  • 11
4
votes
1 answer

job class is not accepting the argument send from controller in laravel

Error: Missing argument 1 for App\Jobs\ReorderDatabase::handle() is showing, I need to pass the variable from controller and i need not to use the model, so How I should proceed. My controller function code is here public function…
Vikash
  • 219
  • 5
  • 13
4
votes
1 answer

Getting output from background jobs

I created the following script to reset the password of the local admin account on all machines in a specific host file. This script functions properly and provides a useful output, but it is slow as it only does one machine at a time. # function to…
cmorris14
  • 97
  • 1
  • 2
  • 7
4
votes
0 answers

Using Android Job Scheduler to Schedule Job Months in Future

I am making an app which will need to schedule job days or months in future. And for the purpose I am Planning on using the android Job Scheduler but after looking at the android.app.job I have learnt that for my task I will need to use the…
Hassan Niazi
  • 330
  • 2
  • 3
  • 13
4
votes
1 answer

Why is my SQL executed via Start-Job not returning the answer I expect?

I have a database hosted on SQL Server 2008 which my regular user account does not have access to. In order to query it, I need to use my special "admin" account (just another AD account, but in different groups from my regular user account). I came…
GodEater
  • 3,445
  • 2
  • 27
  • 30
4
votes
1 answer

Laravel Queues delay length

Is there a maximum Length of time i can delay a Laravel Job? I need to delay a job for up to 14 days, and i can't find any documentation about delay length. $job = (new SendReminderEmail($user))->delay(89000); is this ok?
user2834482
  • 437
  • 2
  • 6
  • 14
4
votes
1 answer

Best way to check multiple tasks done in Celery?

After some research , I found the more problems... Below is more detailed Emxaple: upload a list of urls, set a job_id to all of them(need generate a dynamically queue name for purging). use Celery tasks to crawl each url, such as…
Mithril
  • 12,947
  • 18
  • 102
  • 153
4
votes
0 answers

Got error "java.lang.IllegalArgumentException: Can not create a Path from an empty string" when running a hadoop job in local mode

I have a hadoop job ran regularly in a test environment in local mode with Hadoop 2.2.0 install. The job succeeds most of the time but fails occasionally with the mentioned error message. The call stack is as follows: Exception in thread "main"…
ezhangtina2
  • 41
  • 1
  • 2
4
votes
2 answers

Jenkins - Increase number of executors for one job only

I have a Jenkins machine with a lot of jobs running on it. To this Jenkins, I attached 3 slave nodes. Now, I only have one executor in the Jenkins because I don't wish to run multiple jobs simultaneously since that can cause the jobs to fail. BUT,…
elmekiesIsrael
  • 133
  • 1
  • 3
  • 11
4
votes
5 answers

Why did my SSIS package complete with an error while there seems to be no errors?

I have a package with one data flow task. In the data flow task it copies data from one database to another archive database. I linked two precedence constraints. If it's successful it should go on and start a certain job in SQL Server (delete…
Kim
  • 393
  • 2
  • 8
  • 18
4
votes
1 answer

Scalable job queue system for large scale task scheduling

The scenario: TL;DR - I need a queue system for triggering jobs based on a future timestamp and NOT on the order it is inserted I have a MySQL database of entries that detail particular events that need to be performed (which will consist mostly of…
user1334061
  • 43
  • 1
  • 5
4
votes
2 answers

How does Hudson/Jenkins determine job result status?

I have a Hudson server that runs maven 3 jobs to compile Java code. In one instance, a particular job's build log indicates that the compilation and unit tests all ran successfully, and the build completed in a successful state and another chained…
Codex24
  • 323
  • 1
  • 5
  • 14
4
votes
3 answers

How to start process over ssh that doesn't terminate when session ends?

Is there a way to start a process using ssh that doesn't terminate when the ssh session terminates? I want the job to keep running on the computer I'm ssh-ing into without me having to keep the connection open.
HighCommander4
  • 50,428
  • 24
  • 122
  • 194
4
votes
1 answer

Trigger a job when a file is moved in hdfs(hadoop) directory

I want to trigger a job(hive or pig or oozie..etc) when a file is tranferred to specific directory(by flume) in Hadoop Distributed File System. Is it possible?