Questions tagged as 'cron'

0
answers

Using the sysstat utility to save server usage information in XML format

Sysstat lets you collect all the information I need from the server: CPU usage, memory, buffers ... sadf - with the -x option prints in XML format. I would like all information (CPU usage, memories, buffers) to be saved in XML format...
asked by 01.04.2017 / 18:54
2
answers

How to configure cronjobs in cakephp?

How do I use cronjobs in CakePHP, I need to call an action from a controller on linux server, is it the script path? I've tried it here and it did not work!     
asked by 29.05.2014 / 23:09
1
answer

Is there a way to remove time out? PHP

I am using a cron to run a script that reads a txt file of 18 thousand lines and inserts into the bank, but is running at most one thousand lines, out of nowhere, it did not fall into any of the errors that could be. Is there another way to do i...
asked by 31.07.2017 / 16:12
1
answer

How to run cron job on server

How do I run a .php file on the entire server, I want to run a php that shows Uptime on the server, but I do not know where to put it to see how long the server is active. Use Dedicated Server.     
asked by 26.05.2014 / 21:32
1
answer

How to test cron in laravel?

I've created a cron for sending emails every time. But how to test the operation? Code <?php namespace App\Console\Commands; namespace App\Console\Commands\EnvioEmailBlCron; use Illuminate\Console\Command; class envioEmailBIcron ext...
asked by 25.10.2017 / 21:06
2
answers

Schedule page loading via CRON

I have a PHP page that checks the news feed for some blogs and writes the records to the database. To do this, you just need to load the ex: "www.site.com/page.php" address, I would like to automate this in some way, to run once a day. I t...
asked by 17.12.2014 / 14:06
1
answer

Configure log in crontab

I use crontab as follows. 0 * * * * wget -q -O /var/www/CronTab.txt https://www.meuseite.com.br/tarefa.php So it always creates a txt file 'CronTab.txt' with the result, and if it has any errors it will write to the file. The problem is...
asked by 21.02.2018 / 15:12
1
answer

How do I get the crontab to run a shellscript?

I have a .sh and I'm having difficulty running it in crontab every minute Example I have my .sh file /var/www/exec/checarserver.sh it has permissions. add it to crontab * * * * * /var/www/html/exec/checarservidor.sh | sendmail -s "cront...
asked by 04.04.2016 / 16:12
2
answers

Laravel cron error does not execute

I have a cron that should be running every day in an hour. $ schedule-> command ('inspire') -> dailyAt ('15: 00 '); but it is not running Code <?php namespace App\Units; use Illuminate\Console\Scheduling\Schedule; use Illuminat...
asked by 30.10.2017 / 19:37
1
answer

How to configure email sending in Laravel within cron?

After the creation of cron (code below) a scan is made in the database behind altered data. I have to send an email with this data. How can I do this ??? cron code: <?php namespace App\Console\Commands; use Illuminate\Console\Command...
asked by 25.10.2017 / 16:42