Questions tagged as 'crontab'

1
answer

Create cron on iOS

I'm trying to make a cron that runs every X time on the iOS system to send some data to the server. I have read that there is no way to access a cron on a device that does not have a jailbreak. Researching a bit I found that the closest thing...
asked by 13.12.2016 / 17:29
1
answer

Run a script in Python with Crontab

I need to execute a script that is programmed in Python so that it runs every so often, specifically every 3 minutes. I am using crontab and the file that I modified was the following: crontab -e Within that file the content that you pla...
asked by 20.06.2018 / 18:46
1
answer

Crontab does not execute the task

When adding the following task to Crontab, it is not executed: * * * * * sha256sum -c Ejercicio.sha256 >> /home/user/Escritorio/Ejercicio/example.txt This line of code does what it does is verify the integrity of the files by comparin...
asked by 20.04.2018 / 14:29
2
answers

Cron eliminates user sessions

Scenario: I'm working on a Xampp / Ubuntu Server web server, I needed a routine to run at least 2 times in a minute (30 seconds approximately). To achieve this, raise a cron as follows: * * * * * /opt/lampp/htdocs/control/cronos/cron.s...
asked by 27.09.2017 / 20:08
2
answers

Run PHP with cron

I need to run a PHP script automatically, and for that I'm using the Cent'os Cron and the project is written with the Yii framework. The fact is that I am trying to add a crontab with: crontab -e And then I add the script path and the momen...
asked by 03.08.2018 / 14:44
0
answers

How to run a codeigniter driver in cron job with plesk panel?

I have a method in a controller within my site in codeigniter that extracts certain information from the database and sends it to me via email. First of all clarify that in order to access the site you need a username and password and I do no...
asked by 22.12.2018 / 22:51
1
answer

Do not run crontab from docker container

I'm trying to set up a crontab from docker, the code I have is like this: # Web container FROM debian:jessie RUN apt-get update RUN apt-get install -y cron curl apt-utils nano curl apache2 apache2-utils libmysqlclient-dev RUN apt-get -y inst...
asked by 13.12.2018 / 02:44
1
answer

How to create a scheduled CRON task in linux

I have a scheduled task that executes a script in php and it verifies me in MYSQL database if there are other tasks programmed and what is its status. I understand that to create a task I must do the following crontab -e in the linux c...
asked by 03.11.2018 / 16:47
1
answer

CronJob Ubuntu 16.04 / php7.0

I want to run a CronJob on an Ubuntu server 16.04 with php.7.0, which does not work for me. I have the following crontab -e, which should perform or execute my script every 10 minutes, but it does not do anything. 10 * * * * /usr/bin/php7.0...
asked by 22.09.2018 / 23:48
1
answer

Run Script with probability of failure in Python every second

Good afternoon, classmates. I am relatively new to programming and I developed my first Bot for some tasks, it is already finished but I have a small problem to execute it constantly since it occasionally fails for a foreign reason (sometimes...
asked by 10.04.2018 / 00:17