Questions tagged as 'cron'

1
answer

Can you use CakePHP 3 to create screens to manipulate CRON as SideKiq?

Is there any way to create screens to manipulate CRON PHP with CakePHP3 as we have the sidekiq option for Ruby on Rails? It would be interesting to list the active jobs, and also the option to create new jobs, it would also be interesting to...
asked by 28.08.2017 / 15:44
1
answer

Interpret if link is being executed by browser or cronjob [closed]

I have a cronjob running but practically the link (code in PHP) is published because for the cronjob to work the authentication verification system is disabled. So I would like to know some way so that this link is not made public by the bro...
asked by 24.12.2016 / 02:57
1
answer

Notify every 2 hours if new data is entered

I am trying to create a system for Cron to execute a PHP file every 2 hours, and check if there was any record inserted in a certain table, if there are new records, know the total amount of new records in the meantime. The only approach I t...
asked by 26.10.2018 / 00:51
2
answers

Mass mailing - PHPMailer

Good morning! I have an email marketing system and I'm having trouble making a newsletter shot for a large list of contacts. (Understand large list as: a list containing over 1000 emails.) If I take the shot for less than 1000 emails, shoo...
asked by 24.10.2017 / 16:32
1
answer

Cron creating files on the server

I have the commands: curl https://meusite.com/acesso/cron/cotacoes wget https://meusite.com/acesso/cron/CPTEC It runs these two commands that are responsible for saving some photos on the server, the problem is that in addition to saving th...
asked by 17.10.2017 / 17:31
1
answer

cron job is not executed

I have a cron job that calls a url, this url is a folder that contains an index.php file. This PHP file runs every 12 hours and saves the databases of my server in .sql files inside a folder, but by the cron job it is not doing this, but if I ca...
asked by 05.07.2017 / 03:11
1
answer

How to schedule time-based (Cron) tasks using PHP? [closed]

I'm developing a module in prestashop, and I need to schedule some tasks based on time. For example: On X run the Y function of my module. Is there a way to interact with the prestashhop cronjob module? Is there another solution for this?...
asked by 24.11.2016 / 15:21
1
answer

Script linux Artisan Laravel

I hired a shared server, which runs scheduled tasks ( CRON TABLE ) via linux scripts (.sh). How do I run a php artisan ( php artisan enviar:emaildiario ) command inside this linux script? Server UOL: Script:     
asked by 29.11.2018 / 23:09
0
answers

cron to work until you save the sh file again

Good morning. I have a web server running in centos 7 with some schedules configured in cron to run from time to time. Example: the file agenda_minuto.sh runs every 1 minute, the calendar_10_minutos.sh runs every 10 minutes, and so on....
asked by 05.09.2018 / 12:50
0
answers

PHPUnit + Crontab

I would like to know if it is possible to create some kind of cron in PHP that runs PHPUnit tests every x hours, I already searched in several places but still did not find the answer     
asked by 02.06.2018 / 01:56