Skip to content

Running CRON jobs against wisej app #1227

Description

@itg-assistant

Andrew Hills asked 2017-11-28 08:08:52 UTC

Hi Everyone,

I've got a wisej app running on an externally hosted 3rd party IIS server.  I need to periodically run/load a page in the app so that it triggers a bunch of checks to carry out based on timed events.  I was thinking along the lines of running a CRON job.  I don't have my own Windows server nor an 'always-on' machine, but I do have a Synology NAS device that can run scheduled python or shell scripts (ash linux).  I checked with the IIS hosting company that I'm using and they will only run a scheduled task every 20 minutes, but I need it to run at least every 5 minutes.

Anyway, I threw together some python using 'httplib' module to load the html page that I thought would run the wisej application, but it doesn't appear to work.  Tried a similar thing with shell script using 'wget', which only downloads the html page structure but doesn't actually start the app.  After a couple of days trying various python and shell scripts and nothing working, I found a website called cron-job.org that is supposed to trigger a page load of your choosing at a set time/interval, but that doesn't work either.

So, I'm not sure where to go from here or if my approach is completely wrong or not.  If I had a spare windows machine kicking around then this sort of scheduled task would be a cinch, but such is life!

Has anybody tackled this sort of problem before and if so, what approach do you use?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions