OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Cron Jobs for Book Due Notifications (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Cron Jobs for Book Due Notifications

sashnz (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Cron Jobs for Book Due Notifications 11 Years ago
Karma: 0  
If I want admin to receive a notice email one or two days before a book is due back the following instructions are given. You need to setup cron jobs. According to the backend directions if I wish to make a cron job do the following...

Send email to admin before Lend end.
For that you need create GRON job and connect to Cron check so URL:
'http://{yours site}/index.php?option=com_booklibrary&Itemid={Yours ItemID}&task=lend_before_end_notify' with span - every day.
Cron Jobs may look like:
'wget -q -O - localhost/~andrew/joomla_15/index.php?option=com_booklibrary&Iteid=56&task=lend_before_end_notify /dev/null'

So I set this up both commands at separate times for book item 17. Both returned an error.

1. mydomain/index.php?option=com_booklibrar...nd_before_end_notify
'2. wget -q -O - mydomain/index.php?option=com_booklibrar...nd_before_end_notify /dev/null'

I get the following error...

/bin/sh: mydomain/index.php?option=com_booklibrary: No such file or directory

Can you anyone please advise.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Cron Jobs for Book Due Notifications 11 Years ago
Karma: 101  
hello.

mydomain/index.php?option=com_......

must be valid URL - please check it first in browser

also please read manual for WGET command.

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
sashnz (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Cron Jobs for Book Due Notifications 10 Years, 12 Months ago
Karma: 0  
I have looked at the pdf manual. I cannot find anything in there related to WGET
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Cron Jobs for Book Due Notifications 10 Years, 12 Months ago
Karma: 101  
Hello,

I am sorry, "wget" - that comand(script, tools) for linux it exist as default(linux that default platform for web sites), for other system need check, but that multy platform tools for get any WEB content.

for use "wget" - you need cpanel and (or) bash access to yours host, or you may ask that from yours host provider. Or you may use any like "wget" tools.
Manual for "wget" - you may find in google

Thanks,
OIrdaSoft team
Logged Logged
The administrator has disabled public write access.
sashnz (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Cron Jobs for Book Due Notifications 10 Years, 11 Months ago
Karma: 0  
I have c-panel and as far as I know my book is item 8 and the backend features/pathway are set correctly...

I have set for daily execution as follows...
home/myname/websites/library/index.php?option=com_booklibrary&Itemid=8&task=lend_before_end_notify

yet I keep getting a "com_booklibrary" error.
/bin/sh: home/myname/websites/library/index.php?option=com_booklibrary: No such file or directory

What is the story with com_booklibrary failure? Tell us more about "com_booklibrary" please?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Cron Jobs for Book Due Notifications 10 Years, 11 Months ago
Karma: 101  
Hello,

NO,

You need add to crone set some web request to yours site URl, because that we sid need use "wget", and in yours you need replace:
"home/myname/websites/library/"

to
"Yours site"

You may first submit that url in browser

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»