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

R parLapply not parallel

I'm currently developing an R package that will be using parallel computing to solve some tasks, through means of the "parallel" package. I'm getting some really awkward behavior when utilizing clusters defined inside functions of my package, where…
Carlos Ribeiro
  • 133
  • 2
  • 8
4
votes
2 answers

Architecting a configurable user notification service

I am building an application which needs to send notifications to users at a fixed time of day. Users can choose which time of day they would like to be notified, and which days they would like to be notified. For example, a user might like to be…
Oliver Joseph Ash
  • 3,138
  • 2
  • 27
  • 47
4
votes
0 answers

Why do I get the information of "suspended (tty input)" when I run my script in the background

I've written a tcsh script to clear garbage data in a cluster, the code is : set hosts = $1 set clear_path = $2 foreach i ($hosts) rsh $i rm -rvf $clear_path end When I run this script in the background like this : disk_clean.sh hosts_all…
WindKnight
  • 53
  • 1
  • 4
4
votes
1 answer

PowerShell: Start-Job -scriptblock Multi line scriptblocks?

Hoping someone can help me to figure out if this is possible. I have a 20 ish lines that scan a log file in a while loop. I need this to happen in parallel with the rest of the script. The log scanning loop is passing the entries into SQLite and…
SynxUK
  • 83
  • 1
  • 10
4
votes
4 answers

Job with multiple containers never succeeds

I'm running Kubernetes in a GKE cluster and need to run a DB migration script on every deploy. For staging this is easy: we have a permanent, separate MySQL service with its own volume. For production however we make use of GCE SQL, resulting in the…
J Young
  • 755
  • 1
  • 10
  • 26
4
votes
1 answer

Jenkins Groovy scheduled job, get link

I'm scheduling my Jenkins jobs using groovy script: def job = hudson.model.Hudson.instance.getJob("job") def params = new StringParameterValue('PARAMTEST', "somestring") def paramsAction = new ParametersAction(params) def cause = new…
4
votes
1 answer

Yarn cluster doesn't equally manage vcores, queue resource limit exceeded

I have 3 yarn node managers working in a yarn cluster, and an issue connected with vcores avalibity per yarn node. For e.g., I have: on first node : available 15 vcores, on second node : non vcores avalible, on third node : available 37 vcores. And…
user5688790
4
votes
1 answer

Oracle Job not been executed for no reason

Im programing a job in oracle in order to execute a store procedure, but when the time comes it just does not happend any thing for no reason. Is there some kind of log where I can see if an error happend or something? Im using the dbms_job package…
Giancarlo Solarino
  • 145
  • 1
  • 4
  • 12
4
votes
2 answers

Unexected results in Receive-Job

I noticed weird behavior when using jobs in PowerShell 5.0. Running job that returns PSObject, also returns some hashtable. Jobs that return strings, integers, etc work propertly. Running Start-Job { New-Object PSObject -Property @{ A = 1 } } | …
ernestasju
  • 1,319
  • 1
  • 11
  • 14
4
votes
2 answers

Redis Queue Failed Job is being logged to MySQL

Queue driver is set to use Redis QUEUE_DRIVER=redis With php /opt/artisan queue:work --tries=1 --queue="data-ingestion-default" --daemon The error, we receive is [2016-09-14 08:32:40] lumen.ERROR: InvalidArgumentException: Database [mysql] not…
64k
  • 239
  • 4
  • 12
4
votes
3 answers

JT400 - Replying to MSGW Job

Is it possible to reply to a MSGW job in AS400 from JT400? I've got the Job element and I can know if it's in MSGW status by Job.MESSAGE_REPLY_WAITING Ex: normally I use "C" via WRKACTJOB
LppEdd
  • 20,274
  • 11
  • 84
  • 139
4
votes
1 answer

When does it make sense to use a database for a job queue?

I'm designing an internal company web site where users can submit jobs for computation. An important factor in my design is to persist the job in the queue until it's completed, even if there is a system failure. It seems the internet is against the…
Leif
  • 325
  • 3
  • 14
4
votes
3 answers

how to update jobs to allow me to receive an email after the job finish running (slurm)

I have submitted several jobs on a computing cluster, but did not set the --mail-user. Can I update the specification now? Hope to receive emails after the jobs finish running. Thanks a lot!
4
votes
4 answers

Bus Error in cron job

I have set up a cron job for sending emails from my site using php. It was working fine. Today I got one error message like this "/bin/sh: line 1: 29681 Bus error". Could you please tell me what is this bus error and its solutions? Thanks In…
user457508
  • 41
  • 1
  • 5
4
votes
1 answer

APScheduler Job not running after restart

I trying the MongoJobStore example of APS. The example code is: import logging import os import sys from datetime import datetime, timedelta from apscheduler.schedulers.blocking import BlockingScheduler logging.basicConfig() def alarm(time): …
Abhishek Gupta
  • 6,465
  • 10
  • 50
  • 82