Jump to content

AfterCronjob


past

Recommended Posts

hi,

Why doesn't this code work?
The Whmcs cronjob is also running correctly

 

<?php 
if (!defined("WHMCS")) {
    die("This file cannot be accessed directly");
}
add_hook("AfterCronJob", 1, "Cronjob");

function Cronjob() {
	$tarh_phoneverify_settings = array("id"=>"1", "name" => "0");
	insert_query('tblman',$tarh_phoneverify_settings);
}

 

Edited by past
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated