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

Kotlin: Best way to implement a job scheduler (not for android)

My Goal: Have a class with two methods start and stop the start method has 3 parameters: startHour which indicates an hour of the day in which to restart the execution of the algorithm isImmediatly which indicates whether, the first time and only…
Adamo Branz
  • 164
  • 2
  • 7
0
votes
3 answers

Laravel mailable. Why my queued messages are not sent?

I have two mailable clasess: Notification and UserRegister On develop environment both work fine On production environment only Notification works properly. In this case, UserRegister works if it's sent directly but not when queued. It tries…
0
votes
1 answer

Error trying to use JpaPagingItemReader in Spring Batch

I need to configure a multi-thread job and for that, I need to paginate my data in a different class, not in the config file. I've tried literally everything and I don't know why it doesn't work when I try to create a class for the Reader. I've…
Manu
  • 21
  • 4
0
votes
0 answers

spool csv file to windows disk - script to run daily

I want a script to be ran daily. What am i doing wrong? begin spool 'C:\Users\xxx\try2.csv' SELECT * from employees; spool off; end; enter image description here
glizzz
  • 27
  • 6
0
votes
1 answer

VERY strange behavior of sys.dm_hadr_database_replica_cluster_states in a SQL Job

How to call DMV sys.dm_hadr_database_replica_cluster_states inside SQL job? Code is very simple in step: CREATE TABLE #D (DB sysname); INSERT #D select database_name from sys.dm_hadr_database_replica_cluster_states; But when job starts, it throws…
Max Isaev
  • 1
  • 1
0
votes
1 answer

Django Custom Commands Not Creating New Entries

I'm pretty new to Django, and I'm working on a simple app that generates json forecast data for a list of locations daily. This data is then used to display the forecasts to the user. I have a startjobs.py set up to run some functions that generate…
0
votes
0 answers

Stop SSIS from running Twice

Issue: SSRS reports are showing duplicate records(comparing to old-migrated server). Troubleshooting/Background -Data is being pulled from a flat file vis SSIS jobs. -Each job runs 1 time successfully in SSMS. If a job fails, the records in SSRS…
Patrick
  • 1
  • 1
0
votes
1 answer

set a maximum of cpus used by a snakemake pipeline on a SLURM cluster | --local-cores | --jobs

I wish to set a maximum of cpus used by a snakemake pipeline on a SLURM cluster, so the number of jobs sent in parallel (--jobs) is defined by max CPUs limited rather than by --jobs param. Snakemake version 7.20.0 So I though that …
0
votes
1 answer

Looker report for big query job performance

I would like to create a report on job performance in big query in looker. Can anyone suggest what type of graphs I can create?
0
votes
0 answers

unity job system can not use classes

i am triying to use the unity job system with marching cubes. here is my job: private struct UpdateChunksJob : IJobParallelFor { public NativeQueue queue; public void Execute(int i) { …
0
votes
1 answer

Is it possible to make a job batch in Laravel to wait until a certain time in the future before running the next job?

I have a command where a job batch that runs some work that lasts at least 40 minutes is created, but I need the batch to pause about 10 hours if the next job is going to be executed after, let's say 2a.m., and start again at 12p.m. I did a schedule…
daxez
  • 17
  • 6
0
votes
0 answers

job FAILing to execute

//this is the function that i have wrote for sending data into job public function Createsubscribersemail() { $this->validate([ 'subscriber_title' => 'required|string|max:50|min:3', 'body' => 'required|string', ]); $this->authorize('create',…
0
votes
1 answer

Is it possible to make a scheduled task based on a job batch in Laravel?

I have a system that reads large files on FTP server, store them on database, and send them to an API that does some processing with that data. I have to do chunking of the data because it may be hundreds of thousands of registers and the processing…
daxez
  • 17
  • 6
0
votes
2 answers

How not to start docker container on system reboot?

I have compose.yml file: api: restart: on-failure command: uvicorn app:app ... jobs: restart: on-failure command: python job.py ... job.py: import asyncio from prometheus_client import start_http_server async def…
Alex Poloz
  • 366
  • 7
  • 22
0
votes
2 answers

SLURM job array $SLURM_ARRAY_TASK_ID not working

I am attempting to submit multiple jobs using a job array where I pass $SLURM_ARRAY_TASK_ID to Python's argparse, but $SLURM_ARRAY_TASK_ID does not print or produce the job files expected. Here is the batch script that I am submitting: #!/bin/bash…
asorlik
  • 11
  • 1