Scheduling Multiple Events

Asked by Barry Wood

When I schedule an event to be shown hourly for many days and press save, I see a circular 'hour-glass' in the top-left corner (indicating some activity) but I get no other indication that all the events have been scheduled. All I can do is press the 'Cancel' button (& check all events have been scheduled) which doesn't sound right - I don't want to cancel what I've done. Can't a message box be shown saying 'All events scheduled OK', and a button added saying 'Close'? It would make the procedure much clearer.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

Hi Barry

The dialogue should close when the scheduling operation is complete - so it looks like the query is timing out.

Please try increasing your PHP Maximum Execution time setting and trying again.

Also nearly every time I've seen people using repeat every hour it's wrongly. Under the hood, creating a schedule that repeats every hour for 24 hours creates 24 separate schedules all linked together. Doing that over several weeks very quickly adds up to a query that adds or modifies hundreds or thousands of rows.

If you just want something to run all the time interspersed with other layouts, then the correct way is to create either a campaign and schedule that once, or schedule the layout once and all the other layouts once at the same time and allow the client to show them in rotation rather than schedule every specific time that the layout should appear.

Alex

Revision history for this message
Barry Wood (barry-x8) said :
#2

Alex,

I don't want these events to run all the time, just for 5 or 10 minutes every hour for a month. Really I don't want them to run for 24 hours either, just between the hours of 7am and 6pm (that's when the club I'm doing this for is open, so no point in doing them after 6pm). I can't see another way to schedule this sort on need.

I'll check and increase the PHP Max Exec time and see if that makes a difference, but it does look like all the events are being scheduled OK, so the query would be completing OK.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Hi Barry

You could create a campaign which contains an hours worth of content - normal and the notices you only want to show for 5 minutes, then schedule that 24/7.

It doesn't matter that they show through the night as you say.

Alex

Revision history for this message
Barry Wood (barry-x8) said :
#4

Alex,

I'm not sure how these 'Campaigns' work. I've created one to test, but pressing 'Layouts' doesn't do anything. Also if I try to delete it I get a message saying I can't delete it (maybe something is wrong with my installation). There's no documentation on Campaigns (that I can see), to show me the right way to do this.

Revision history for this message
Barry Wood (barry-x8) said :
#5

I increased that PHP setting from 30 secs to 90 seconds and I get the completed message now and all the scheduled events are there. Seems a shame that if the query is terminated by running out of time there is no error message being given to help the user figure what is wrong. Still, all OK now, thanks for tip.

PS On the Campaign note you mentioned, there's a problem deleting campaigns, even when they've not been used. I created one, looked at LAyouts to see how it worked, didn't select any and tried to delete the campaign, but get a message saying I can't delete the campaign. No reason given, so it's just stuck there. Not doing any harm, I suppose, maybe I'll use it soon anyway.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

The PHP process is just terminated at that time. There's no way for us to notify you because our software isn't running any more at that point!

Alex