Questions tagged as 'cron'

1
answer

Execute a script automatically - without the use of CRON

I usually run a script that should be run from time to time (such as request status updater, for example) using Linux CRON. (I have no idea how to do this in Windows hosting) However, I noticed that Wordpress seems to do this without using CR...
asked by 13.05.2015 / 15:01
0
answers

Error giving bin / magento indexer: reindex

My Magento control panel is showing this message    One or more indexers are invalid. Make sure your Magento cron job is   running. I saw that I would have to give php bin/magento indexer:reindex but every time I try to give this t...
asked by 27.12.2017 / 18:33
2
answers

What are CRON JOBS and how do you use them with PHP [duplicate]

Recently I asked this question , but I found it kind of vulnerable to use the codes that were answered, summarizing the best answer: Create a Cookie with a Time and hide the button, after this time runs out, the button returns. (If some cheek...
asked by 01.08.2017 / 09:45
1
answer

How to create a cron in Laravel?

I have to create a Cron in Laravel to send emails every 24h. I must upload the email to the bank. So after a query in the database cron should send the email with the query data.     
asked by 24.10.2017 / 22:17
1
answer

How to create a Cron job?

I have a real estate website that every day we do an XML import of properties added the day before. This import is made by a component where I choose the file and import it and it runs the function. I have edited the component for instead of...
asked by 23.10.2017 / 12:59
1
answer

check if file is in use with php

I have a file called photo.zip, where people can download it to my site. I want to create a file in php that crontab will run every 10 minutes, and check if the file is being downloaded by someone. If it is not, it deletes the file. Someone k...
asked by 17.06.2016 / 15:04
1
answer

Does Crontab not kill processes after they are gone?

I'm using the Crontab to run a PHP script every 10 minutes the problem is that the processes are getting to run on the server, ie every 10 minutes I have one more process to run. crontab -e */5 * * * * /usr/bin/php /path/to/test/test.php...
asked by 05.11.2014 / 18:30
1
answer

How to run the same php script via cron without overloading?

What is the best way to run a same php script multiple times by doing random queries for a given column with a limit of 1000 per query of the same mysql table via cron (cpanel) without generating so much overhead? [cron 1] * * * * *...
asked by 17.07.2016 / 03:59
2
answers

Run Cronjob Codeigniter

How to execute a method of a class in Codeigniter via CronJob? Ex: main.php accessed at link <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Principal extends CI_Controller { public function __const...
asked by 21.10.2014 / 22:07
0
answers

Recognize email sending error Laravel

Good morning. I am doing a cron with Laravel 5.2 to send emails to my company, I am using the Mail sending of Laravel and would like to know if there is a way for Laravel to recognize that the email does not exist or to acknowledge...
asked by 12.01.2018 / 11:56