Questions tagged as 'cron'

1
answer

Hosting server integration with local server

I will integrate the system hosted on the kinghost server with a local server. The idea is that when updating some content on the hosting server update the system content of the local server, and when updated some content on the local server the...
asked by 30.09.2015 / 16:56
1
answer

cron command without using password to access MYSQL database

Good morning, I've been receiving warnings related to a cron that I created in 1 site to update certain data from a mysql database table. The error is as follows:    Warning: Using a password on the command line interface can be   insecure...
asked by 02.07.2018 / 12:37
0
answers

Send email with PHPMailer and Cron (Ubuntu)

To schedule email submissions, do you have to do something other than put the file inside the /etc/cron.daily folder (for daily submissions)? This code works when I run directly on the server, do I need to edit some other file to send the schedu...
asked by 30.03.2017 / 03:31
1
answer

Alternative Cron Job

I need to run this cron job ***** wget --spider -O - http://dominio.com/cron >/dev/null 2>&1 But the hosting does not allow me to use " , would you have any alternatives for this task? Look what appears. link Thank you i...
asked by 16.02.2017 / 12:08
0
answers

cronjob curl does not work in aws

Hello, I'm trying to generate a cronjob in Amazon Web Services (aws), tried it in several ways but it does not work. Here is the code:    * / 2 * * * * / usr / bin / curl link using only    / usr / bin / curl link Direct works...
asked by 29.09.2016 / 21:07
1
answer

Cronjob does not recognize the CodeIginiter controller

I'm trying to make a cronjob run in the CI, but I'm not getting it, this error appears:    Fatal error : Class 'CI_Controller' not found in /MeuCaminho/application/controllers/cron.php on line 4 > PHP <?php class Cron extends...
asked by 14.04.2015 / 23:23
2
answers

Replace CRON

I made a script PHP which has to always run, usually 1 to 1 seconds or at most 2 to 2 seconds. The problem is that I set up multiple command lines on CRON to run every 1 second, but CRON automatically changes the configuration because I t...
asked by 05.04.2016 / 19:46
1
answer

How do I run Cron Jobs in PHP?

I wanted to use Cron Jobs in these php: titulos.php <tr> <td bgcolor="<?=$highlight?>"> <? require('config.php'); $sqle = "SELECT * FROM tb_ads WHERE user='$last' and ident='$id'"; $resulte = mysql_query($sqle);...
asked by 13.04.2014 / 01:16
1
answer

Best way to do Schedule PHP [duplicate]

Good Morning, Personal I have a GSM PUSH panel for sending notifications of android apps is already working perfectly, however now there has been a need to schedule push messages. I thought of doing a routine that keeps checking every 30...
asked by 13.01.2017 / 14:29
1
answer

How to create commands for firing via a CRON task

I do not have access to CPanel Linux and was asked to send the command script to the responsible person. I also do not have much knowledge on cron jobs and would like to know how I can create one so that a billing shot is sent daily to users. I...
asked by 03.01.2019 / 23:58