Questions tagged [cron]
Cron is a time-based job scheduler running as a daemon process in Unix-like computer operating systems. Questions about configuring cron for systems or administration are OFF TOPIC.
19,575
questions
0
votes
1
answer
28
views
Wordpress cron job to check and update post_meta
Setup: I have a custom post type ('place') that have a meta field: 'highlight' (DateTime) which is the time that the highlight feature expires.
Goal: Once the highlight time has passed (expiry < ...
0
votes
0
answers
17
views
Cron stops triggering jobs across entire Jenkins instance
It's happened a couple of times in the last few months, that on one of our Jenkins instances, all jobs that are run by cron stop being triggered. Restarting the Jenkins instance fixes it so that cron ...
-1
votes
0
answers
12
views
Will python-crontab library work correctly in a Docker container?
I am building a CLI app that lets the user schedule a job that executes a Python script on the machine. I am using python and am going to eventually containerize the app. My question, though, is will ...
0
votes
0
answers
34
views
Unable to set cron schedule in Zeppelin 0.11.1 [closed]
Since zeppelin 0.11.1, we are not able to set cron schedule for zeppelin notebooks. Setting cron schedule in 0.10.1 works with no problem. In zeppelin 0.11.1, it throw the error: java.lang.String ...
0
votes
1
answer
30
views
Cron call vs CLI call on Ubuntu [closed]
I am running into a weird issue. Cron call vs CLI call on Ubuntu 16. It checks 5 different docker containers.
requestLogExistsInCon=$(docker exec -it myapp_${_docker_container_count}_1 sh -c "...
-3
votes
0
answers
52
views
Architecture for storing data from API requests in PHP [closed]
What is the best approach for storing data from API requests in my own mysql data base? I want to limit the number of requests but store all the data for all the permutations availbe so that when the ...
0
votes
0
answers
43
views
GCS Fuse is not working in CronJob in Google Cloud
I am trying to access and write CronJob logs to google storage buckets. I have already setup the service account and another deployments are using the same using annotations
gke-gcsfuse/volume: "...
0
votes
0
answers
37
views
Crontab jobs don't inherit cgroups from crond, why? [closed]
I am trying to isolate cpus by cpuset cgroup, and I set the cpuset cgroup of crond to 'isolated', but the crontab job just uses the root cgroup.
test program:
*/1 * * * * root cat /proc/self/cgroup &...
0
votes
0
answers
15
views
Wordpress Plesk cron error / syntax error
I'm not sure if this is the right place to ask this, but i have to start somewhere…
On a client site I get this error message from plesk desk since a couple of days ago:
PHP Parse error: syntax error,...
1
vote
0
answers
62
views
Response ended prematurely while scrapping web page inside cronjob
I created Cronjob to execute the Script every 24 hours, I noticed that this error occurs when the code compiles itself during the cron process on the local machine I did not notice this problem.
...
0
votes
0
answers
26
views
ISchedulerConfiguration Cron hour doesn't work
I currently have a C# worker console project to which I have to assign to several threads the facility to run at specific times. With IScheduledEventConfiguration and the Cron() method I have used the ...
0
votes
1
answer
46
views
Cron to fire function in WordPress Plugin - wc_rest_set_uploaded_image_as_attachment not loading images
Currently the function will complete with out problems via a button on the admin side / plugin folder.
Products information updates as expected but the image fails only via Cron, Throwing internal ...
0
votes
1
answer
23
views
treating cron service as request
I have a function that repeatedly uses a service of type 'scope: Request'. This service obtains a variable from the request header and uses it for further work.
@Injectable({
scope: Scope.REQUEST
})
...
-2
votes
0
answers
12
views
Crontab to run on specific dates in specific months
I'm using crontab via DigitalOcean to run scheduled crons and I've got a number set up and working correctly. However, I'm in need of running one with the following schedule:
8am on 1st, 7th, 10th ...
1
vote
1
answer
46
views
Python Not Recognized in Scripts Executed via Cron
Summary
I'm obtaining an error when running a bash script via cron. The script errors out when it reaches the following command; keep in mind that the bash script swaps out ${END_DATE} with the date ...