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
3 answers

Register-ScheduledJob as the system account (without having to pass in credentials)

I believe for Register-ScheduledTask you can specify -User "System"or do something like: $principal = New-ScheduledTaskPrincipal -UserId SYSTEM -LogonType ServiceAccount -RunLevel Highest How do I do this with Register-ScheduledJob? This command…
red888
  • 27,709
  • 55
  • 204
  • 392
5
votes
2 answers

How can I tell what processes are started by a Start-Job command?

I have (inherited) a PowerShell script that calls other PowerShell scripts by invoking them with a Start-Job cmdlet and the -FilePath parameter. For example, I have a script that does nothing: Start-Sleep -Seconds 86400 Which I can invoke via a…
Charlie Joynt
  • 4,411
  • 1
  • 24
  • 46
5
votes
2 answers

GETDATE() in a T-SQL Job Step Command

I can't seem to get the GETDATE() syntax to work in a Job Step of type Transact-Sql Script. I put in the command as: execute insertMostRecentUpdate @Data='Data', @Date=GETDATE()-1 But I get an "incorrect syntax near ')'" error when parsing or…
C Bauer
  • 5,003
  • 4
  • 33
  • 62
5
votes
2 answers

Linked Server failing on SQL Server job

I have a linked server that perfectly works when executing a query. But when I place the query in a job, it fails. Here is the setting of my linked server Error
Philip Morris
  • 459
  • 1
  • 9
  • 26
5
votes
1 answer

Backup sql server database and mail it

I have looked and searched to find a way to backup sql server db and send the backup file to email address with sql server mail profile but i did not get it, I found about sending email when there is a failure in db, and other notification but i…
Younis Qadir
  • 315
  • 1
  • 4
  • 16
5
votes
1 answer

how to identify user who created a specific job on jenkins?

Problem In jenkins, I cannot find the job creator for a specific task. Tries I tried looking in the changes log, do not display creation. Looked up in the user profiles and there is no such properties. Been fooling aroung for a while now trying to…
Cher
  • 2,789
  • 10
  • 37
  • 64
5
votes
3 answers

Submit Spark job on Yarn cluster

I am struggling for more than 2 days now with the following problem. I wrote a basic "HelloWorld" script in Scala: object Hello extends App{ println("WELCOME TO A FIRST TEST WITH SCALA COMPILED WITH SBT counting fr. 1:15 with sleep 1") val data…
user2573552
  • 119
  • 1
  • 2
  • 6
5
votes
1 answer

Delete jenkins jobs having the matching pattern

How to delete jobs on jenkins having the prefix "Data_jobs_" ? and How to disable all jobs having prefix "Data_jobs_server" ? Anyone know how to do this by going /script page ??
Naveen Kumar
  • 2,570
  • 3
  • 20
  • 22
5
votes
0 answers

What happens if node server isnt connected when agenda job is scheduled to run

Hi I was wondering what will happen to an agenda job that is scheduled to run every 24 hours if we turn off the server for two days? When we restart the server, will it be able to pick up where it left off? Or what? Can't seem to find documentation…
es3735746
  • 841
  • 3
  • 16
  • 40
5
votes
1 answer

How to get attached files from an email, using Pentaho Kettle?

I'm stuck in a great problem. My task is to download some emails from a server using the IMAP protocol. This is accomplished by using the "get mails (POP3 / IMAP)" job entry, which downloads the emails, but in binary format. Files in binary format…
5
votes
2 answers

How do I kill job in Sidekiq took long to finish

I have jobs does it take more than 2h to finish. I want to put a time to limit how long it will take it. How do i can do?
tenaz3.comp
  • 367
  • 6
  • 17
5
votes
1 answer

GNU Screen Problems

I am trying to run screen in a special way (I am making an unusual script), and it is not working correctly. My script: #!/bin/bash #startserver set -m cd /home/USER/SERVER_FOLDER/ screen -Dm -S SERVER java -Xmx768M -Xms768M -jar ./JARFILE.jar…
Coder-256
  • 5,212
  • 2
  • 23
  • 51
5
votes
1 answer

Execute a Makefile in parallel except for some rules

I have a complex makefile with a lot of recipes. I would like run them with no parallel execution except for the generation of my objects files. I noticed that the .NOTPARALLEL target cannot take any prerequisites otherwise it would have been much…
nowox
  • 25,978
  • 39
  • 143
  • 293
5
votes
3 answers

Bash: How to show full list of job processes and kill them

I issue a command task1 & task2 dir/ && task3 & Task1 never ends, so we send it to the background. Task2 changes the directory Task3 depends on task2 completing. Issuing: jobs -l will show: [1]- 39281 Running task1 & [2]+ 39282…
Scorpius
  • 999
  • 1
  • 10
  • 22
5
votes
1 answer

Running parallel jobs in talend

I have a situation where i need to run five different child jobs in talend in parallel. Problem is that, in my select query i would be getting five different ID's and then for each particular id , i need to run five different jobs. Problem with…
Nitish Sharma
  • 331
  • 4
  • 7