OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
cronjob for simple membership (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: cronjob for simple membership
#14936
Paragp (User)
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
cronjob for simple membership 1 Year, 8 Months ago Karma: 0  
Hello Taras and team,

I have just set a cronjob for simplemembership...

0 * * * * www.youngreadersclub.in/index.php?option...mbership&Itemid={YoursItemID}&task=before_end_notify

Question is on ItemId={YoursItemID} in the cronjob command string:

Is it properly mentioned? Does it need a space {Yours ItemID} or {YoursItemID} is correct?

I have currently set it to hourly to carryout my testing... otherwise i understand it need to be scheduled once a day or so.

Please help me verify the command string. thanks.

regards,
parag
 
Logged Logged  
  The administrator has disabled public write access.
#14942
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:cronjob for simple membership 1 Year, 8 Months ago Karma: 55  
Hello, Parag

You need put instead of {YoursItemID} -add Id from your menu manager and set 1 day in cron job settings.

Best Regards,
Taras
OrdaSoft team
 
Logged Logged  
 
Last Edit: 2015/03/24 15:08 By Taras.
  The administrator has disabled public write access.
#14946
Paragp (User)
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
Re:cronjob for simple membership 1 Year, 8 Months ago Karma: 0  
Thanks Taras.

Can please guide on the ID please? It should be of which Menu option?

regards,
parag
 
Logged Logged  
  The administrator has disabled public write access.
#14951
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:cronjob for simple membership 1 Year, 8 Months ago Karma: 55  
Hello, Parag

You should use that menu, that you need for cron job.

Best Regards,
Taras
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#14953
Paragp (User)
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
Re:cronjob for simple membership 1 Year, 8 Months ago Karma: 0  
Taras,

Pardon my ignorance. cronjob (crontab/etc) is a unix level job setting. So do i need to also create a menu option and link simplemembership job to it? The simplemembership document doesn't say anything about linking which program to menu and then assigning this menu id to the cronjob. Thus would really appreciate a few liner explanation please.

thanks,
parag
 
Logged Logged  
  The administrator has disabled public write access.
#14957
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:cronjob for simple membership 1 Year, 8 Months ago Karma: 55  
Hello, Parag

Yes, you need create a menu option and link simplemembership job to it, as you wrote in previous message about ItemID

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?