Most voted "cron" questions
Cron software utility is a time-based task scheduler on Unix-like operating systems.
Learn more…77 questions
Sort by count of
-
0
votes1
answer68
viewscron task is not executed
I have a cron task that calls a url, that url is a folder that contains an index.php file. This PHP file runs every 12 hours and saves my server databases into files. sql inside a folder, only by…
-
0
votes1
answer53
viewsCan Cakephp 3 be used to create screens to manipulate CRON like Sidekiq?
Have some 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 be able to list the active Jobs, and also the option…
-
0
votes0
answers133
viewsServer with PHP Timer
I would like to use PHP to run a monitoring server, which runs periodically (Ex: hour in hour) a check, but without relying on Cron or Task Scheduler, unless it is to "start" this PHP server,…
-
0
votes1
answer788
viewsHow to run a Function in cron job?
I wonder how and what is the best way to do a cron job, if I write it as a direct Function in cron? I’d like to do it every day at 6:00. public function atualizarpontuacao(){ $palpites =…
-
0
votes1
answer46
viewsCron creating files on the server
I have the controls: curl https://meusite.com/acesso/cron/cotacoes wget https://meusite.com/acesso/cron/CPTEC It performs these two commands which are responsible for saving some photos on the…
-
0
votes0
answers37
viewsConfiguration of the CRON
I’m trying to run a file in cron, but I’m not getting it. It would have some extra configuration that needs to be done? [root@ip-172-31-35-95 ec2-user]# crontab -l 1 * * * * php…
-
0
votes3
answers2249
viewsError: Laravel ao Enviar email
When trying to send email in the Portuguese language I get this error message: [Swift_transportexception] Expected Response code 250 but got code "530", with message "530 5.7.1 Authentication…
-
0
votes0
answers664
viewsHow to create cron Jobs via php
I’m developing a system where he sends programmed emails using PHP. Then you will have a managerial interface that the user will be able to choose in how many days you want to send the emails. Now…
-
0
votes1
answer35
viewsNotify every 2 hours if new data is entered
I’m trying to create a system so that the Cron run a PHP file every 2 hours, and check if there has been any record inserted in a given table, if there are new records, know the total amount of new…
-
0
votes1
answer176
viewsArtisan Laravel linux script
I hired a shared server, which performs scheduled tasks (CRON TABLE) via linux scripts (.sh). How to run a command php Artisan (php artisan enviar:emaildiario) within that linux script? UOL server:…
-
0
votes1
answer119
viewsHow to create commands for shots through a CRON task
I don’t have access to Cpanel Linux and have been asked to submit the command script to the responsible person. I also don’t have much knowledge on cron tasks and would like to know how I can create…
-
0
votes1
answer87
views -
0
votes1
answer427
viewsMy cron is not running
I’m trying to make a cron in the Standard to send an email every 1 minute, but no e-mail has been sent so far. Man Emailadocaocron.php: <?php namespace App\Console\Commands; use…
-
0
votes0
answers192
viewsCron does not work
I’m trying to run a file .sh to perform a backup of my database, but for some reason the cron to run this file is not working. I’ve tried to make a lot of changes, but nothing works. All other cron…
-
0
votes1
answer417
viewsHow do I check if today’s date matches a date created in a Django application?
I have an app that gets the day of the week and the time when an event should occur. In addition, it also receives the period of time that people must confirm presence. My model goes below: def…
-
0
votes1
answer193
viewsCron having trouble running PHP file
I have a problem executing my tasks in Cron. When I access the script to be run by the browser it works normally, but when it is run by cron, I get the following error: PHP Warning:…
-
0
votes0
answers37
viewsgo through the map array and find the letters
I am developing a nodejs application with cron job and I need to pass the task by input configuration to the task. So I thought of a pattern to put in this input, example: 10S:3M:2H:1D:6Y:2W 10S:3M…
-
0
votes1
answer80
viewsTesting a cron-job with JEST
I have a javascript class that contains a function which initializes a cron job. To perform cron-job I used the Node-Cron library. But I can’t find a way to test the class and function. The…
-
0
votes0
answers35
viewsBackground routine for data compilation is a good idea?
The last company I worked for had some very peculiar rules, these not being as common (as far as I know) in other IT companies. Basically we compiled all the data that would be used in the system…
-
0
votes0
answers25
viewscron does not update database
I created a php file to check if there are any expired users or update their status with database update 1 time a day. I’m scheduling the cron for the hostgator’s CPANEL. If I run the file in the…
-
-1
votes2
answers360
viewsCron Job - Doesn’t Work
<?php include $_SERVER['DOCUMENT_ROOT'].'/aaa/core/database/connect.php'; include $_SERVER['DOCUMENT_ROOT'].'/aaa/functions/general.php'; include…
-
-1
votes1
answer4820
viewsRun a cron Cpanel URL
I need to run a URL at 19:00 every day. I tried using Cpanel’s cron job, but the url is not executed. curl -s -o /dev/null http://minhaurl.com.br/index.php/sms/enviodiario What would be wrong?…
-
-1
votes3
answers1548
viewsBulk mailing - Phpmailer
Good morning! I have an email marketing system and I am having problems when performing a newsletter shot to a large contact list. (Understand large list as: a list containing over 1000 emails). If…
-
-1
votes1
answer49
viewsDoubts in the functioning of a CRON task, No and how to SCHEDULE and yes the FUNCTIONING of it
I have a question about scheduling tasks in CRON and I would like more clarification on how it works. If I have a task to perform every minute, and this task for example takes longer than 1 minute,…
-
-1
votes1
answer120
viewsOrange Error: [Reflectionexception] Class App Units Commands Inspire does not exist
I’m getting this mistake: Code consoleKernel.php <?php namespace App\Units; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel; use…
-
-3
votes2
answers28
viewsUpdating payment status using Cron in the Standard
I have the following scenario: I am using a payment api where each order expires in 15 minutes, how can I register a cron task for each payment order I have, bad I know where to start I am using…
-
-4
votes2
answers157
viewsHow to save a file in Vim
I am logging into the UOL hosting by SSH to schedule a task with cron. I can type in the schedule, only I don’t know how to save, give a CTRL+S on the terminal I think it doesn’t work and I don’t…