Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Scheduled job

  • 15-02-2007 3:48pm
    #1
    Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭


    I want to schedule a php script to run regularly, but don't have access to cron or anything like that. I figured I could write a small php script that could be included on every page of the site which would fire off the event, but that's still dependant on someone visiting the site. Ideally, this script should run 24/7 - is there any better solution?


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    A bit more information please. Are you sure you have no access to cron? is it a unix server? windows?

    Running something regularly is trivial. If you can provide some more info, I'll help you out.


  • Closed Accounts Posts: 7 AlbertH


    You really need cron to do this. If not then the other option is to get somebody you know who has cron on their server/site to call a page on your site.
    It's a bit of messy but it should work.

    If your site isn't too developed then it might be worth considering moving it to a host that gives you cron capabilities.


  • Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭corblimey


    Okay, I hoped I could beta test my site on my own test domain without needing cron, but I guess I might aswell get it working as it's going to be working.


Advertisement