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
5
votes
1 answer

Databricks Job API create job with single node cluster

I am trying to figure out why I get the following error, when I use the Databricks Job API. { "error_code": "INVALID_PARAMETER_VALUE", "message": "Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size" } What I…
user7454972
  • 218
  • 3
  • 13
5
votes
1 answer

Batch job submission failed: I/O error writing script/environment to file

I installed slurm on a workstation and it seemed to work, i can use the slurm commands, srun is working too. But when i try to launch a job from a script using sbatch test.sh i get the following error : Batch job submission failed: I/O error writing…
5
votes
3 answers

Why is NativeArray needed to obtain return values from Unity's Job System?

Using the code block below as reference, a single update provides the following results: intReturn = 0 inputArrayReturn = 1 internalArrayReturn = 1 The only value that makes sense to me here is internalArrayReturn. Why doesn't intReturn equal 1?…
Jee
  • 969
  • 1
  • 7
  • 26
5
votes
3 answers

Spring-batch exception: org.springframework.batch.core.launch.NoSuchJobException: No job configuration with the name [] was registered

I am seeing this exception when stopping a running job using jobOperator.stop(id) or when I want to restart it using jobOperator.restart(id). I don't have any idea why the MapJobRegistry is empty ... Am I missing a step ? I have reproduced the…
Dave
  • 111
  • 1
  • 4
5
votes
2 answers

How to check if a background job completed but keep the Windows form responsive in PowerShell

I've created a Windows form where you can click a button that starts a backup process (Using Start-Job) of about 15 minutes. I used Start-Job in order to keep the form responsive during the backup process (By responsive I mean you can move it…
NightJob
  • 53
  • 4
5
votes
1 answer

How to check when BigQuery query result returns zero records?

I have a client API in python which executes BigQuery job to trigger a query and write query result into respective BigQuery table. How to determine whether that query result returns zero records at any execution or not? Python code: def…
5
votes
2 answers

Laravel command called from Laravel job

I have a command named MyCommand, and I am calling it from a job named MyJob. I cannot see the command outputs when it's called from job. But if I run the command directly from command line, command output is seen. MyCommand.php code: namespace…
Umut KIRGÖZ
  • 2,105
  • 3
  • 22
  • 29
5
votes
2 answers

Laravel - Dispatching a job not working from a repository

when I try to dispatch a job from a controller it works. however when I do the same from a repository it gives me an error.
Garine
  • 574
  • 5
  • 21
5
votes
2 answers

WorkManger in Android is executing doWork() more than once

I am using WorkManager to schedule some tasks but the problem is that work manager is executing those tasks { doWork() } more than once in a single call. I am using: 'android.arch.work:work-runtime:1.0.0-alpha08' I have tried using…
Simran Marok
  • 707
  • 1
  • 5
  • 9
5
votes
1 answer

Having a job depend on an array job in SLURM

I have two job scripts to submit to SLURM, jobA.sh and jobB.sh. jobA is a array job and I want jobB to only start once all of jobA has been completed. My script for jobA.sh is: #!/bin/bash #SBATCH -A TRIGWMS #SBATCH --mail-type=FAIL # cores per…
NH8
  • 73
  • 1
  • 4
5
votes
2 answers

Python how do i accurately schedule one time tasks

so i have this python app and i need to schedule tasks on specific datetimes. I was thinking something like: scheduler.add(datetime,func()) which would call function func at the specified date and time but accurately. I want seconds or even…
jino dav
  • 51
  • 2
  • 5
5
votes
2 answers

Ruby/Rails synchronous job manager

hi i'm going to set up a rails-website where, after some initial user input, some heavy calculations are done (via c-extension to ruby, will use multithreading). as these calculations are going to consume almost all cpu-time (memory too), there…
user573335
  • 350
  • 1
  • 5
  • 18
5
votes
1 answer

Laravel Jobs and Reserved Status or Reserved Queue

I have a script run as a job when pushed in a queue. I have a couple of other queues and all of these are handled by the supervisord. I am using the Redis as a queue driver with Laravel 4.2. I want to know about the different statuses of the…
Khuram
  • 1,820
  • 1
  • 26
  • 33
5
votes
1 answer

Class not found exception in job (queue)

We want to use laravel jobs for sending out invoices to customers. We have this job class. It expects the payment model in the constructor. namespace App\Jobs; use App\Jobs\Job; use Illuminate\Queue\SerializesModels; use…
dns_nx
  • 3,651
  • 4
  • 37
  • 66
5
votes
1 answer

JCS to Autosys migration

We have jobs running in JCS, and since JCS is no longer supported, we are migrating jobs in JCS to Autosys. No one in our team have any idea on how to migrate the JOBs in JCS to Autosys. Even I googled for the same but no help. Can anyone please…
NJMR
  • 1,886
  • 1
  • 27
  • 46