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

How to disable a job in oracle with dbms_scheduler

I created a job which runs in my database successfully with DBMS_SCHEDULER ,but now I need to disable this job, how can i do this? thanks!
IT Expert
  • 71
  • 1
  • 1
  • 3
7
votes
1 answer

How to use supervisor to process jobs in Laravel?

Im using laravel queue to dispach jobs and installed supervisor to hande them. Supervisor processes are working, they are running but not processing my jobs! Meanwhile if I run directly php artisan queue:listen jobs are executing! I created…
Bona00
  • 83
  • 1
  • 1
  • 5
7
votes
1 answer

Why I cannot assert that the job has been dispatched?

I have the following Laravel Controller: namespace App\Controller; use App\Jobs\MyJob; class JobDispatchControler { public function callJob(Request $request) { MyJob::dispatch(); } } The controller above has the following…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
7
votes
2 answers

Kubernetes jobs and back-off limit values: is the value a number of retries or minutes?

I was reading the Kubernetes documentation about jobs and retries. I found this: There are situations where you want to fail a Job after some amount of retries due to a logical error in configuration etc. To do so, set .spec.backoffLimit to…
Dherik
  • 17,757
  • 11
  • 115
  • 164
7
votes
5 answers

Is it possible to stop a job in Kubernetes without deleting it

Because Kubernetes handles situations where there's a typo in the job spec, and therefore a container image can't be found, by leaving the job in a running state forever, I've got a process that monitors job events to detect cases like this and…
Brent212
  • 1,835
  • 4
  • 19
  • 23
7
votes
4 answers

Laravel chunk and delete

I have a large number of items (1M+) that i want to delete from a database, i fork a background job to take care of that, so that the user won't have to wait for it to finish to carry on whatever he/she was doing, the problem is, the app becomes…
xanadev
  • 751
  • 9
  • 26
7
votes
4 answers

How could I dispatch one job from another in Laravel

Trait method dispatch has not been applied, because there are collisions with other trait methods on I'm always getting the above error, now I want to use both Dispatchable and DispatchJobs in a job, how could I do that? Any help or guidance will…
Siddharth
  • 1,649
  • 4
  • 22
  • 47
7
votes
4 answers

How to specify a initial delay to an Android periodic job using JobScheduler?

I want to create a running job with a specific time and a given periodicity. For example, I want to schedule a job the second day of each month and it should run every month. Looking at the JobInfo.Builder documentation I haven't found a way to set…
César Alberca
  • 2,321
  • 2
  • 20
  • 32
7
votes
3 answers

Laravel Jobs are not asynchronous

I need a way to run some tasks asynchronously as the execution time varies between each task and I want to run the in an asynchronous way using Laravel Jobs and database as the driver. I created to test jobs using the command line: php artisan…
mike.void
  • 172
  • 1
  • 2
  • 11
7
votes
1 answer

Cron Job to auto delete folder older than 7 days Linux

I am having issue storing my server backup on a storage VPS. My server is not deleting old backup folders and the storage is getting full and the backup fails in mid way. My runs once every week. Can anyone help me create a cron job script on that…
Sohail Ahmed
  • 113
  • 1
  • 2
  • 7
7
votes
6 answers

scheduled jobs in SQL Server 2012

I have a question relating to scheduled jobs in SQL Server. Well, I guess it isn't exactly related to scheduled jobs, but in fact related to SQL queries. Anyway I have 2 tables Table_1 and Table_2 in my database. I wish to run a scheduled job every…
J09
  • 169
  • 1
  • 1
  • 13
7
votes
3 answers

How to get the queued job from job ID in Laravel?

Is there any way to get the queued job from the job ID in Laravel? While adding the job to the queue, I store the job ID. Later at some point of time (there is a delay to process the job in the queue), I want to remove the job from the queue. If I…
Debiprasad
  • 5,895
  • 16
  • 67
  • 95
7
votes
2 answers

How to get reason CUPS job was stopped?

How do I get the reason a CUPS print job failed, via the CUPS API? Using the CUPS API, I printed two jobs that failed to print. On the CUPS web interface, I can see why they failed: "Unsupported print data." and "Unable to write print…
Jacob Marble
  • 28,555
  • 22
  • 67
  • 78
7
votes
1 answer

Configuring Quartz.Net to stop a job from executing, if it is taking longer than specified time span

I am working on making a scheduler, just like Windows Scheduler using Quartz.Net. In Windows Scheduler, there is an option to stop a task from running if it takes more than the specified time. I have to implement the same in my scheduler. But I am…
Wasif Subzwari
  • 199
  • 3
  • 13
7
votes
1 answer

How do you implement periodically executing job?

I am recently implementing a system that automatically replies to tweets that contain arbitrary hashtags. This system consists of a process that periodically crawls Twitter and a process that periodically replies to these tweets. Following the…
Junpei Tajima
  • 310
  • 1
  • 4
  • 11