cron jobs
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: October 04, 2022 08:27AM

hi! I am using a forum script and it says it needs to be run every 1 minute below is what it says to do but im not sure where to input it at.
You should set the cron to run the following command every minute:
C:\php/php -d memory_limit=-1 -d max_execution_time=0 C:\wamp64\www\simmingtoncommunitycity\forums/applications/core/interface/task/task.php 257406673000a32e1af6835e8dcc2115

how would I go about setting this up?

Options: ReplyQuote
Re: cron jobs
Posted by: Otomatic (Moderator)
Date: October 04, 2022 08:59AM

Hi,

The first thing I can think of is that you have to be consistent in writing and not mix up / and \.

The second thing is that max_execution_time=0 is not necessary, see the documentation:
max_execution_time`

The third thing is that exceeding the execution time will generate a fatal error.

The fourth thing is that there is a "Scheduler" in the About page of Wampmanager (Aestan Tray Menu)

The fifth thing is that I don't have the skills for this.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 10/04/2022 02:08PM by Otomatic.

Options: ReplyQuote


Sorry, only registered users may post in this forum.