You are not logged in.
Pages: 1
Hi,
I have everything set up on the GLPI side to get the automatic actions set up to receive mail from receiver. I just don't understand how to set up the task on my windows computer to do this?
I found a document that said to add the following to task scheduler. But it did not work for me. Is there an extra step that I am missing?
c:/wampphpphp.exe c:/wamp/www/glpi/front/cron.php
Thanks!
Offline
I am assuming your install is on a Windows box?
Mine is on Linux, so I may be mistaken, but you will have to setup the cron task and then change your run mode to CLI for mailgate (automatic actions)
Thanks,
Dan
Offline
Yes, I'm running it on a windows box. I have already changed the run mode to CLI in the GLPI setup. So all I need to do is setup the cron.php file and then it should work?
Thanks!
Offline
I'm using GLPI 0.83 and want to know how to do the inventory of cartridges and I can deposit all cartridges but as I get to leave downloading of inventory which is the option that I get new cartridges, I can enter the new used but not then download it as
Offline
@ cchiriboga : please open a new thread.
@ williamsk : yes, I believe that is all you have to do.
Thanks,
Dan
Offline
Sorry to bring up an old post.. I had been working on this, then I took a break to work on other things, and now I am back to it.
Should I use the Scheduled task option in Windows 7, or do I need to set up an actual cron.php? If I do use the Scheduled Task option, what do I attach to trigger this so the mail receiver will update?
Thanks!
Offline
Ok, here is my configuration so far. I have GLPI installed on WAMP on Windows 7. I am using the scheduled tasks to run the cron task. But I don't know where to go from here.
Program/Script:
C:\wamp\bin\php\php5.3.13\php.exe
Add arguments (optional:
C:\wamp\www\glpi\front\cron.php
It says that the task ran successful. But I still do not receive ticket e-mails. I have already changed the run mode to CLI. Is there anything else that I am missing?
Last edited by williamsk (2012-11-20 00:17:40)
Offline
If you run the mailgate action manually, does it pull the mail?
If not, then the cron task part won't matter yet.
Thanks,
Dan
Offline
Yeah, if I manually pull the mail, it works great. But I just am not able to get it automated..
Offline
I'm not sure if this is a glpi problem, or if my php isn't working correctly. I am using Wamp.
Offline
I have spent the ENTIRE day trying to figure this out.. I have concluded that I am not inputting the cron.php and php.exe correctly in the windows task scheduler. I have tried putting it in every way I could think of, and still nothing.
Offline
Does anyone have an example of what they have used in Windows Task Scheduler? I feel like maybe I am getting close. I tried putting the "(path)/php.exe (path)/cron.php" in the program to start like most of the docs have it, but it won't work. Thanks!
Offline
Ok, I am to the point where I give up on trying to find this. I have worked 3+ days trying to get this to work.... I have tried every combination I know of to get the mail to automatically receive.
These are the settings I have been using in the task scheduler:
Program/Script:
C:\wamp\bin\php\php5.4.3\php.exe
Add arguments (optional): c:\wamp\www\glpi\front\cron.php
Start in (optional): Blank
When I run the task, it shows running, but everytime I refresh it it goes back to ready. Nothing pops up and runs either. The Administrator user that I am using has full Administrative rights, so I don't know what to do anymore.. Am I using the right files?
Offline
hi william,
im facing the same issue, receiver works well if i do manually (button click) but not automated.
the confusing part is there's no error thrown..
Offline
hi william,
im facing the same issue, receiver works well if i do manually (button click) but not automated.
the confusing part is there's no error thrown..
Yeah, thats exactly my problem as well. The task says it runs successfully after I refresh the task schedule.. Because it hangs up saying "Running", but its not.. I have ran into this with other situations and the problem has always been that something wasn't typed in the actions right.. So I'm not sure if it has something to do with me using Wamp or if I am typing something wrong.
What environment are you running on? Linux or Windows?
Offline
im using windows.
Offline
im using windows.
Me too. I am using Windows 7...
Offline
So what if I just type in the following for the URL:
http://IPADDRESS/glpi/front/crontask.php?execute=mailgate
What would happen if I just let that page run? When I have that page up, it continuously runs and the e-mail tickets are received fine.. If I have to keep this page running to get the mail to automatically come in, then I can..
Offline
I am resurrecting this topic. I am facing the same issue and cannot figure if it is a windows 7 misconfiguration or if I am setting the scheduled task incorrectly.
I opened a topic a while ago but still no outcome
http://www.glpi-project.org/forum/viewt … p?id=32484
has anyone found a solution?
Offline
Pages: 1