LiveZilla Live Chat Software
RCM - Resellerclub Mods

Welcome, Guest

TOPIC: Problem in Cron Job

Problem in Cron Job 1 month 4 days ago #742

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,
The administrator has disabled public write access.

Problem in Cron Job 3 weeks 6 days ago #744

  • Marco
  • Marco's Avatar
  • Karma: 15

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.

The administrator has disabled public write access.
Time to create page: 0.135 seconds

Latest Tweets

More Tweets from resmods

Latest News

Sneak Preview v4 RCM Modules!

Automation here, automation there, automation everywhere! The new v4 Modules will mark a before and after for selling, provisioning, and managing Products / Services with ResellerClub, NetEarthone and many others using the biggest reseller platform LogicBoxes / OrderBox in the domain and hosting Industry.

About Us

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