High support at Stack Ideas,
I still can't get cronjob command right to work in Easy Social. And I have followed your documentation carefully.
all my existing cronjobs begin with
nice -n19 ionice -c2 -n7
A typical Sotftaculous cronjob command is
nice -n19 ionice -c2 -n7 /usr/local/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --backup --auto=1 --insid=413_91730
My domain is a subdoman so path to its folder (subfolder) is like this /home/user/public_html/subfolder
Then I tried to write the command like this
/home/user/public_html/subfolder/ -O /dev/null "http://subdomain.com/index.php?option=com_easysocial&cron=true"
and I get a email like this: /usr/local/cpanel/bin/jailshell: /home/user/public_html/subfolder/: is a directory
I tried another command like this:
/home/user/public_html/subfolder/bin/wget -O /dev/null "http://subdomain.com/index.php?option=com_easysocial&cron=true"
And I get an email like this:/usr/local/cpanel/bin/jailshell: /home/user/public_html/subfolder/bin/wget: No such file or directory
Finally, I tried a command like this:
nice -n19 ionice -c2 -n7 /home/user/public_html/subfolder/bin/wget -O /dev/null "http://subdomain.com/index.php?option=com_easysocial&cron=true"
and it just wont send an email at all.
*I replace "user" with my cpanel username and "subfolder" with the actual name of the subfolder and "subdomain.com" with the actual subdomanin.
Please looking at my case, what should be the correct command?
Thank you