There is a php function that does some database and curl operations. I run this function with a url. Right now I’m doing this manually, but I’ll tie it to crons in the future. My problem is this. For example, I have a url like below. When I enter to this url, the function I direct inside deletes data from
Tag: cron
Unable to run artisan command via cron in localhost [Laravel 8] [Solved] [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
How can I make my server allow my PHP script process to run for 75 minutes instead of disconnecting after only 45 minutes?
I am trying to save an mp4 file from audio live stream by PHP script initiated by cron job. It’s expected to work for 75 minutes, but the problem is it runs for only 45 minutes. I found that the server may disconnect the process and not allow the script to run for such a long time. I checked my
I want to run daily php file with html and js content crontab
I am new to this topic and I have developed a .php file, which has an html code inside, which makes a series of functions through javascript and this through ajax, executes a php code, which registers data in the database, the code works correctly, when opening the url, internally it does the whole process. But what I want now
Crontab via exec() not working with PHP 7.4 / Deb 10
Bit of a hard one to debug as I’m working with both a new version of PHP and a new OS on a new server. I have a cron management system in PHP that allows me too add / remove or enable / disable cronjobs. On another current Deb 8 server with PHP 7.2 it works flawlessly using the following
PHP architecture – Individual cron job per user
I’m building a website in PHP and need an API to be checked on a regular basis for EACH USER individually. In a nutshell it’s a SaaS to steer a user account on another website with additional/automated options. A web based bot if you want. So basically, I need to dynamically create a new cron job with its individual interval
Cron – bad minute errors in crontab file, can’t install
So I have a cron file sms.cron that I want to execute every 15 minutes that looks like that: 15 * * * * docker-compose exec php bin/console app:send-sms I do not precise the path to the command …
File not sending via cron job (PHP script)
I’m trying to create a cron job that sends an email with a file attachment once a day. I’m using a simple PHP script to test this and it works fine when I go to the URL and run it. However, when running it via the cron job, the email is sent but not the file attachment. Here’s my PHP
Laravel – Delete record from database if not exists in given array
I am fetching all my GitHub repositories using Campbells GitHub package for Laravel. I made a command and a cronjob which runs every minute and it works perfectly fine. The only problem is that when a …
Cron + PHPMailer Email Queue
I have a doubt, I am thinking of making an email queue and using cron job for this task, but on my website there is an email verification system, I wanted these verification emails to be delivered as quickly as possible, as I could make work? I don’t need a code, just an opinion Answer Don’t do it. There are