LiveZilla Live Chat Software
RCM - Resellerclub Mods

Welcome, Guest

TOPIC: Problem in Cron Job

Problem in Cron Job 2 months 2 weeks ago #742

Hello,
I have created a file path.php
In the /home/whmcs/public_html/modules/addons/resellerclubmods_tools/cron/

And create cron job in cpanel : for Automated Domain Price Sync and Domain Transfer.

php -q /home/whmcs/public_html/modules/addons/resellerclubmods_tools/cron/resellerclubmods_dompricesync.php 123456

But when cron job is worked then I have received a mail with "you need to pass your id"

I would like to know that what is wrong.

With regards,
Anis
The administrator has disabled public write access.

Problem in Cron Job 2 months 1 week ago #744

  • Marco
  • Marco's Avatar
  • OFFLINE
  • Karma: 15
Hi,

The path.php file will not resolve your issue.

Your problem with the error message "you need to pass your id" is related to the php configuration. In order to pass variables using the CLI you need to set the php directive register_argc_argv to On in the php.ini file

Another solution will be using the GET Method instead of php -q (CLI) method.

Regards,
Marco
The administrator has disabled public write access.
Time to create page: 0.107 seconds

Latest Tweets

More Tweets from resmods

Latest News

Black Friday and Important News!

Black Friday is coming and will start tonight! Don't miss it and get the best possible discount on our complete Portfolio!
Read more...

About Us

Who we are, what we do and everything else about Resellerclub Mods, a gIF Business Project: