All Questions
355
questions
0
votes
0
answers
22
views
Cpanel Cron Job not working for everyday day
I have 3 cron jobs in my cpanel, I am hitting APIs with curl, my hourly cron job is working fine but daily cron job is not, monthly is not get to test yet for cron:
You might think there is some error ...
0
votes
1
answer
115
views
Prevent malicious execution in Cron
I use cPanel and apache.
I see this process in my server:
opt/cpanel/ea-php74/root/usr/bin/php -d disable_functions= /tmp/codeItems3
root 17549 0.0 0.0 27180 972 ? Ss Apr16 0:00 ...
0
votes
0
answers
40
views
cPanel cron job not working for php script
I want to run a php script in every 1 minute using cron job from cPanel. It will generate a cache file from a video list from a CDN. But it seems I am doing an issue, so this code is not generating ...
0
votes
0
answers
64
views
Schedule in Laravel not work on host server
I have a schedule function in Laravel. It work good on localhost but it doesn't work on host server.
Hi,
I want send SMS for some customers daily. I wrote schedule in Laravel. It works good in ...
0
votes
1
answer
43
views
Cron in Laravel and Cpanel
Laravel cron issue on Cpanel
Background info
Laravel 10
cpanel shared hosting
crons set up and tested locally
I have a tested set of crons that run jobs/queues in my local environment. When I ...
0
votes
2
answers
99
views
PHP script executes fine when run manually in terminal, but errors when cron in cPanel
I am trying to run a cron job to execute a PHP script. The command for the cron I am trying to execute is /usr/local/bin/php -q /home/domain/public_html/apps/app.php >> /home/domain/public_html/...
0
votes
0
answers
29
views
cPanel cronjob doesn't run but works normally
I have a cronjob setup on cPanel which doesn't seems to run, but it does when called directly.
Since I update some values in the database, I need to include the config file. So this is the start of ...
0
votes
0
answers
17
views
Why the minute cronjob configuration in cpanel changed itself
I have a cronjob configuration that runs once every 3 minutes, as follows
*/3 * * * *
The command is the artisan queue command in Laravel
/usr/local/bin/php /home/shalltea/public_html/...
0
votes
1
answer
257
views
Cron job isn't working in Cpanel - Laravel 9
I want to write a schedule in Laravel 9 which requests to an API and saves the results in the database.
Then I should add a cron job in my Cpanel to run it every minute.
My Laravel code:
<?php
...
0
votes
1
answer
23
views
Cpanel cron job cant run night or after hours only right?
I searched everywhere but cant get confirmation that a cpanel cron job cant run night or after hours only.
As example
During the day from 6am to 6pm the hour is set to 6-18 but during the opposite and ...
1
vote
2
answers
2k
views
PHP str_starts_with and str_ends_with functions not working as expected
I have a php file that works well when I run it on browser but when I schedule it to run via cpanel cronjob, strangely it doesn't work. I spoke at length with the hosting company(namecheap) but they ...
2
votes
1
answer
50
views
Setting up cronjob in cpanel using codeigniter php not working
i have a page in my website where i have a script in my view page mysite.com/feepayment/homecontroller/mystatus, whenever we visit the link, the script runs, now i want to add it to cronjob in cpanel, ...
-1
votes
1
answer
165
views
Access variables or functions from other scripts in cron job via cPanel
Background
Hi,
I am new to cron jobs and I am trying to set up a test one just to see how they work. I created it in cPanel like this:
wget -O - -q https://website.com/staging/wp-content/themes/AT103/...
1
vote
0
answers
173
views
Laravel cron job on cpanel is not running
I'm trying to run a cron job for task scheduler in laravel 8 on cpanel
here is the command im entering in cpanel cron jobs page
usr/local/bin/php /home/webservername/public_html/laravelappfolder/...
0
votes
1
answer
35
views
Mysql events using cpanel cronjob
We have a queueing system that was developed by our previous developer, and the truncate command was manually executed to the mysql query. We cant use event scheduler on cpanel so the best option we ...