Todd Holley Posted March 24, 2007 Share Posted March 24, 2007 Are there any other programs that due the same thing as cronw? I am having serious problems setting up cronw. And I need to set up some cron jobs on windows for mb to automatically send out invoices. Link to comment Share on other sites More sharing options...
studeggle Posted March 24, 2007 Share Posted March 24, 2007 On windows just create a .bat file and a scheduled task. Link to comment Share on other sites More sharing options...
Todd Holley Posted March 24, 2007 Author Share Posted March 24, 2007 So i would open notepad put in 3-58/5 * * * * /path/to/php -q -f /path/to/mb/include/scripts/cron_dispatch.cron.php /path/to/mb/ cron ENCKEY And save the file with the .bat extension. Then go into scheduled tasks and tell it to run every day at 12:03 am and it would work correctly? Thanks for the help. Link to comment Share on other sites More sharing options...
ECF Posted March 24, 2007 Share Posted March 24, 2007 Run the batch file manually first to make sure it works proerly and creates the invoices. Then add it as a scheduled task. Link to comment Share on other sites More sharing options...
studeggle Posted March 25, 2007 Share Posted March 25, 2007 .bat files don't understand the time information that is placed in the scheduled task. They also don't understand user information once again that is in the scheduled task. Use roughly: /path/to/php -q -f /path/to/mb/include/scripts/cron_dispatch.cron.php /path/to/mb/ For more precise google cron and .bat conversion. I'm good at writing my own .bat but trying to write a generic thing like above gets a bit confusing to my head. I keep looking for the hard drive information Link to comment Share on other sites More sharing options...
kalyse Posted March 25, 2007 Share Posted March 25, 2007 I dont think your listening to ECF. Reread his post. Make a bat file first, then make sure it works without the sheduled tasls Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.