Click here to Skip to main content
15,885,546 members
Everything / Cron

Cron

cron

Great Reads

by Maxim Komlev
Task Scheduler JavaScript library
by Iqra Ali
CRON jobs and configuring Jenkins jobs using different CRON options
by Marijan Nikic
Regex that can be used for parsing Cron Expressions

Latest Articles

by Marijan Nikic
Regex that can be used for parsing Cron Expressions
by Iqra Ali
CRON jobs and configuring Jenkins jobs using different CRON options
by Maxim Komlev
Task Scheduler JavaScript library

All Articles

Sort by Score

Cron 

6 May 2018 by Iqra Ali
CRON jobs and configuring Jenkins jobs using different CRON options
15 Sep 2021 by Michael Hulthin
Your cron means every Wednesday at 10. If you want it to run daily you can use "0 0 10 1/1 * ? *" or every weekday "0 0 10 ? * MON-FRI *" I use cronmaker.com for fiddling around with cron expressions until they do what I want.
26 Jul 2023 by Chris Copeland
If you run PHP as part of a cron then no Javascript will execute. PHP's function is to produce HTML content and return it to the browser, the browser then interprets the HTML (and Javascript) and executes whatever has been produced. The fact your...
5 Sep 2015 by Member 11962787
Hi,I have GPRS based biometric device which has ADMS (iclockserver of ZKSoftwares) to get attendance logs from biometric device on my Windows 2012 VPS server. My own website is PHP/Mysql based and is uploaded on same Windows Server on XAMPP. So I have two servers running on the same system...
19 Jun 2016 by Aravindrv666
In our server one cron job is running everyday morning and is causing all the API depending on the server is stopped due that script execution.The MySQL admin shows the script is running in the panel. Is there any way to find out from which machine that crone job is running. THanksWhat...
19 Jun 2016 by Dave Kreskowiak
I don't know why you're here. This question is about MySQL administration, not writing code.I think the command you're looking for is SHOW PROCESSLIST[^]
7 Mar 2017 by Vincent Ducroquet
Hello, i have a table with two columns :First : Occurence, containing datesSecond : the number of the week from the dateI'd like to do a Select on my table, and get only dates every tuesday and every n weeks(6 for example) from the first occurence.Ex: OCCURENCE ...
7 Mar 2017 by Andy Lanng
declare @weeks intset @weeks = 3--Common Table Expressions;with mycte as ( -- get the lower and upper bounds to limit the recursion select min([table_date]) as startPoint, max([table_date]) as endPoint, [id] from [table] group by id), mycte2 as ( --recursive cte gets all...
7 Mar 2017 by Peter Leow
Try this:SELECT * FROM tablename WHERE DATEDIFF(week, CONVERT(DATE,'07/03/2017',103), CONVERT(DATE,occurence,103) ) % 3 = 0 or demo[^]
4 Dec 2017 by Dev O'Connor
Evening i am trying to automate a service status email from a select number of services. when i run the script with sh -x ./myscriptname.sh it works absolutely fine. But when installed as a cron, i get a constant error service: command not found The shell script is as follows: #!/bin/sh...
4 Dec 2017 by Peter_in_2780
It can't find service on the path, which appears to be /usr/bin:/bin from the email. I don't know what distro you are using, but my Ubuntu 16.04LTS has it at /usr/sbin/service Use which service to find it and adjust your script accordingly.
5 Jul 2018 by Member 13900323
Nginx, vestacp, bitshop setup with Tor on 127.0.0.1 and centos7 server. Setup this cron job in vestacp. Set it to 45 minutes and entered. php -q /public_html/Bitshop/goxgrab/data_update.php Errors are still displaying on the website and the bitcoin exchange rates are not updating. Screen...
5 Jul 2018 by raddevus
What does line 15 of market_stats.php look like? Looks like the script is failing on word 'symbol' Also a similar error on head.inc.php line 27. Need to see those files (at least lines) to determine more.
9 Oct 2018 by nmeri17
I'm on a free hosting plan so the cron options are limited. I want my script to run at 23:59 but can't supply the syntax. The closest option they have to what I want is every ten minutes. What I have tried: In my code, I'm manually testing like so $now = new DateTime("now", new...
9 Oct 2018 by summiya1
If your cron job setting option is limited then you can call the script with cUrl (as alternative to CRON). Just do a scheduled task on your local machine that executes the cUrl function.
16 May 2020 by Cody O'Meara
I'm new to CRON and setting up for the first time to send an email that works when I go to the URL, so it is not the PHP file. I have this in the crontab file: # m h dom mon dow user command 17 * * * * root cd / && run-parts --report...
16 May 2020 by Garth J Lancaster
Well, I take it /usr/bin/php /var/www/html/tsl/email1.php works when you run it from a terminal/command-line ? if so, good Next, are you 'tailing'/checking /var/log/syslog to see if anything useful comes up there ? I am assuming here you...
14 Oct 2020 by Member 12406065
I have a scenario that I need to schedule a report weekly as per the date and day are chosen from the UI.(Five field cron expression) please help me with this below question. if Weekly and it need to start from a particular date, how to mention...
14 Oct 2020 by Sandeep Mewara
When I need it, I make use of something like: Free Online Cron Expression Generator and Describer - FreeFormatter.com[^] Your case looks a little more stringent and not straight forward. Never needed to schedule start date. You can see if the...
10 Apr 2021 by Marijan Nikic
Regex that can be used for parsing Cron Expressions
15 Sep 2021 by Szkaradek-Przemyslaw
My project is made in the .NET5 environment Example: I have Quartz.NET schedule set with Cron and task sending emails, everything works in a short time frame. On the test server, I set a day interval - ultimately it will be weekly. Additionally,...
26 Jul 2023 by Vikas Uniqu
I have a PHP script that includes JavaScript code. When I call the PHP script manually on my browser, the JavaScript code executes successfully and performs the expected actions. However, when the same PHP script is executed via a cron job, the...