LiveZilla Live Chat Software
RCM - Resellerclub Mods

Welcome, Guest

TOPIC: Problem in Cron Job

Problem in Cron Job 7 months 1 week 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 7 months 1 day 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.

Problem in Cron Job 3 months 3 weeks ago #769

Hi

I have tried the user.ini file register_argc_argv = On On with no luck

I can't use the GET either as it doesn't work as my domain is https -

error received LWP will support https URLs if the LWP::Protocol::https module
is installed.

any other suggestions you could think of.

thanks

glenn
The administrator has disabled public write access.

Problem in Cron Job 3 months 3 weeks ago #770

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

Open a support ticket and provide an URL to the PHP info or copy/paste the html code of the PHP Info output into a textfile and attach it to the ticket.
The administrator has disabled public write access.
Time to create page: 0.103 seconds

Latest Tweets

More Tweets from resmods

Latest News

Wordpress Hosting Provisioning Module now available!

We are happy to announce the launch for our brand new Provisioning Module to sell and manage the newly incorporated ResellerClub Service: Wordpress Hosting!

Read more...

Releasing the v4 Modules Series!

The v4 has arrived! We are very proud to announce finally the release of our brand new v4 Provisioning Module for the Single Domain Hosting Service.

Read more...

About Us

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