Set cron job in Codeigniter – CPanel
I am trying to run a script via cron job in cpanel. Maybe I entered a wrong path that's why I received a mail: could not open input file. Here is my code class Cron extends CI_Controller { public function…
I am trying to run a script via cron job in cpanel. Maybe I entered a wrong path that's why I received a mail: could not open input file. Here is my code class Cron extends CI_Controller { public function…
I have multiple crons set in Django. In each CronJob I have set ALLOW_PARALLEL_RUNS = False. To run crons I have used linux crontab like follows : */1 * * * * /home/social/centralsystem/venv/bin/python3.6 /home/social/centralsystem/manage.py runcrons After some times of running…
I do not know what I am doing wrong. It appears that I cannot run crons under centos. I double checked the PHP path and the files path, they all seem ok to me. 59 23 * * 0 /usr/bin/php…
I'm using laravel5.8 and when i run my project in local it's ok but in shared host i change php version from multiphp in cpanel to php7.3 and i get this error: The Process class relies on proc_open, which is…
I need to setup 2 cron jobs with very precise timing for my PHP code. Cron 1: Run cron job every 10 minutes, every day between 9:24:59 to 15:14:59. i.e cron job starting from every morning 9 hours 24 minutes…
I am currently trying to run this script /opt/alt/php72/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /home/sboxgquk/public_html/forums/applications/core/interface/task/task.php fbe57fcf6e8f449336839593cc9f5297 every minute in the Cron jobs section of cPanel. However the lowest amount of time between each job is 5 minutes. It will not let…
I am new to Linux. I am using CentOS 7. I found out that my new backup always replace my old backups. For example, backup on 15th of July 2019 will replace backup on 14th of July 2019. # Create…
I want to take backup of my database daily with cPanel cron job I've tried this solutions but didn't work for me mysqldump -uCpenelUsername -pCpanelPassword dbname > testDB/$(date +%m-%d-%Y-%H.%M.%S)-name.sql Can someone please guide me where I'm making a mistake
My website hosting server is Godaddy and website is www.5kcinema.com I am using codeigniter framework I have a script that runs and check whether movie is released today or not, if released date is today's date then movie is moved…
I have hosted by project on shared hosting where my 'app' folder i outside public_html The php version is 7.3.5, the issue i am having is.. i am have created a cron job to automatically backup the project database but…