Activate debug to run cron functions PHP in Ubuntu

I have this code:

run_jobs() {

printf "$(date) : $$ start\n"


check_bitcoind # check whether bitcoind is running, and if not, run it

#backup_database "before cron"

sync_to_bitcoin; #backup_database "synced bitcoin" # check for and process new btc deposits

verify_deposits; #backup_database "verified deposits" # check for and process new deposits

verify_withdrawals_bitcoin; #backup_database "verified bitcoin withdrawals" # check for and process new bitcoin withdrawals

process_orders; #backup_database "processed orders" # check for and process new orders

log_process_sizes >> $LOGDIR/[login to view URL]


printf "$(date) : $$ end\n\n"


But when run in SSH no error appear

root@az:/home/intersango/bin# ./every-minute

root@az:/home/intersango/bin# ./every-minute

I need activate debug options to see why is not running the PHP code inside functions example

process_orders() {

printf "$(date) : $$ processing orders\n"

mkdir -p $LOGDIR/process_orders


cd $CRON

php ./[login to view URL] > $LOGDIR/process_orders/$(date +%y.%m.%d-%H.%M.%S) 2>&1


# delete small logfiles

find $LOGDIR/process_orders '(' -size 484c -o -size 118c ')' -delete


Because when I run from SSH php ./[login to view URL] it work fine! But when run from ./every-minute cron file it show no error and not run .php database updates.

Skills: PHP, Ubuntu

See more: crontab not running python script, crontab not running centos, crontab not working in linux, cron daemon not running, crontab not running shell script, debug crontab, cron job not running ubuntu, script run manually but not in crontab, run cron php mac, php activate cron job php, activate cron using php, run html extractor php, user defined functions php radio buttons, googlemaps functions php, functions php, create cron job php mysql, php dynamic updates, php menu updates, php web service sync database, text orientation using functions php

About the Employer:
( 8 reviews ) Swieqi, Brazil

Project ID: #15080175

14 freelancers are bidding on average €33 for this job


Hello Relevant Skills and Experience please have a look at our portfolio link:- [login to view URL] Proposed Milestones €50 EUR - S

€50 EUR in 1 day
(90 Reviews)

Active debug to run cronr in php Relevant Skills and Experience PHP Proposed Milestones €25 EUR - Project

€25 EUR in 1 day
(129 Reviews)
€39 EUR in 1 day
(298 Reviews)

Hello I am interested. I can fix the issues you have with your bash script and php. I can start right away. Regards,

€34 EUR in 1 day
(99 Reviews)

Hi, I have reviewed your requirement and I can do this job as per your requirement. We have huge expertise in WORDPRESS , Laravel, Node.Js , React.Js, CakePHP, Codeigniter, Angular.js, Bootstrap, API Integration, Plug More

€77 EUR in 2 days
(32 Reviews)

I have gone through job post and being an expert web developer, I have an extensive knowledge and experience in PHP, HTML, CSS, WordPress and Graphic Designing. Relevant Skills and Experience I have gone through job More

€21 EUR in 1 day
(25 Reviews)

Hi, I can help you activating debugging for php without problem I've worked with linux from long time ago so I've resolved this kind of issue previously. Be advice about I will be setting your php for get more de More

€18 EUR in 1 day
(29 Reviews)
€27 EUR in 1 day
(9 Reviews)
€20 EUR in 1 day
(8 Reviews)

Hello, I will find and fix why you get an error in your cron job Regards, Igor Chaban PHP developer, Linux system admin Relevant Skills and Experience php, ubuntu Proposed Milestones €20 EUR - project

€20 EUR in 1 day
(10 Reviews)

A proposal has not yet been provided

€49 EUR in 1 day
(5 Reviews)

I am a serious bidder with similar technical skills and experience i have checked the details & have already worked on a similar project before and can deliver this as u have mentioned Relevant Skills and Experie More

€27 EUR in 1 day
(2 Reviews)

Dear employee After Read your project, we completed many similar work and we have a team with 30+ highly skilled Designers and Developers with over 7+ years of experience. Relevant Skills and Experience Relevant Expe More

€23 EUR in 1 day
(0 Reviews)

A proposal has not yet been provided

€34 EUR in 1 day
(0 Reviews)