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

Different --time for different jobs in a SLURM job array

Consider the following example .sh file attempting to schedule some jobs with SLURM #!/bin/bash #SBATCH --account=exacct #SBATCH --time=02:00:00 #SBATCH --job-name="ex_job" #SBATCH --array=1-80 #SBATCH --cpus-per-task=40 #SBATCH…
David Veitch
  • 125
  • 5
0
votes
0 answers

Suspending a for loop, then resuming it to background prevent it from iterating further

Suspending a for loop (using Ctrl-Z), then resuming it with bg specifically, will prevent it from iterating to the next instance. The for loop still finishes the current iteration, but just stops there. The issue happens when sending the job to…
Faxopita
  • 83
  • 1
  • 9
0
votes
1 answer

ctrl-z to suspend running process suddenly not working in tmux panel

Job's running too long, but don't want to terminate it. Before sending the process to background, I usually use ctrl-z in any tmux panel/window wihtout any problem, but for unknown reasons to me, this key combination suddenly stopped working for…
Faxopita
  • 83
  • 1
  • 9
0
votes
1 answer

Use arithmetic operations in a yaml

I'm using spring jobs in a Grails 5.2.5 application. This application serves to run X (defined by the reports.total configuration) reports at the same time. For correct operation, the spring.task.scheduling.pool.size configuration must be equal to…
0
votes
1 answer

laravel horizon dashboard data empty after fire php artisan cache:clear?

i want to php artisan cache:clear and also want to not remove/empty laravel horizon dashboard my horizon package is "laravel/horizon": "^5.15" my env variable is like…
objg
  • 11
  • 2
0
votes
0 answers

How to start a job in the background and keep its id and pid?

In bash, I know that if I run: my_executable arg1 arg2 & I've started a background job; and I'll also get its id and pid printed on the console, e.g.: [1] 25103 but how do I place those numbers in variables? This doesn't work: my_executable arg1…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Hangfire how to retrieve and display all stored jobs?

How to retrieve and display all stored jobs with on hangfire without UI? This was one of my first tries: [HttpGet("jobs")] [ProducesResponseType(StatusCodes.Status200OK)] public IActionResult GetJobs() { var monitoringApi =…
MarcGr
  • 1
0
votes
1 answer

Is there any way to run specific cells of a databricks notebook automatically?

For example, I have a databricks notebook with 5 cells. I want to create a databricks job to run cells 2 and 4, but not 1, 3 and 5. How can I do this? Is there any way to do it from databricks?
0
votes
0 answers

Managing job in SSMS 19.0.1

I've created jobs with multiple steps that run a stored procedure for different variables. For each step, I've set retry attempts to 10 with 1 minute intervals. I've noticed that even though a step successfully completes the stored procedure, it…
Diana
  • 1
0
votes
1 answer

How trigger dbt cloud job on free version

I wan't to trigger dbt cloud job with API request from a python script, however the API is not accessible for unpaid version as the error suggest : {"status": {"code": 401, "is_success": false, "user_message": "The API is not accessible to unpaid…
user15915737
  • 165
  • 2
  • 15
0
votes
1 answer

Cannot use GCloud CLI in Cloud Run

I would like to use GCloud CLI in my Cloud Run script. For example, to automatically create and delete jobs. On my local pc, "gcloud scheduler jobs create ..." and "gcloud scheduler jobs delete ..." work fine. However, the same commands fail in my…
Maxwell86
  • 113
  • 1
  • 1
  • 10
0
votes
0 answers

create a Season job (a job with once schedule in 3 month)

we have an archive process for 6 databases and we take a backup from each database and move to tape, In the following, I restore the same raw database, we must do this exactly at the end of the session but sometimes we forgot to do that, I want to…
0
votes
1 answer

Laravel 8 Queue Connection not configured although my queue working fine, but generate log in laravel.log file in every second

Laravel 8 queue working fine, but every second generate log in storage/laravel.log file is : The [database--queue=default] queue connection has not been configured. {"exception":"[object] (InvalidArgumentException(code: 0): The…
0
votes
2 answers

Running multiple concurrent processes in a bash script, such that if one dies it takes the other ones down with it

I want to run a series of commands concurrently such that if one of them dies they all stop.
Carl Patenaude Poulin
  • 6,238
  • 5
  • 24
  • 46
0
votes
0 answers

unity can not bake meshcollider in the same job where mesh is created

As you know, in unity jobs it is not possible to use managed types. therefore i can not create a mesh in a job and either have to use three nativearrays for tris verts and colors or use Mesh.MeshData. To bake the meshcollider i have to have created…