# Automated start/end work period + auto print report

**URL:** <https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379>\
**Category:** V5 Tutorial\
**Created:** [December 5, 2016, 5:05am UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379 "2016-12-05T05:05:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaka360](https://forum.sambapos.com/user_avatar/forum.sambapos.com/zaka360/32/30580_2.png) [@zaka360](https://forum.sambapos.com/u/zaka360)\
**Post date:** [December 5, 2016, 5:05am UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/1 "2016-12-05T05:05:46Z")

</div>

so for those that also often forget to end work period like me or just want it automated i have made a setup that will hopefully will help you guys 😉

so first off we gonna make 2 actions for the start and end work periods  
 ![](https://forum.sambapos.com/uploads/default/original/3X/3/c/3c3b083d4343957cedecf2d05aa124971192f4d6.png)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/c/4/c4c4569c9831096299c2fa049ef7dea797f58752.png)

* * *

then depending on how many reports you want to print you create these action (i only want 2: work and items report to print)

![](https://forum.sambapos.com/uploads/default/original/3X/b/7/b766fd534b3b071188702ac27bafa97dbc866a70.png)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/d/e/de98ad733c88cb6c7702a1dd27e69eb8b63bb4b0.png)

so that are the actions

* * *

step 2 is creating triggers for automated start/end work period  
 ![](https://forum.sambapos.com/uploads/default/original/3X/c/8/c80b80ac5b9c38e1a3861cca5c526b77822f1ad9.png)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/1/8/18d9f41f290664a6c286c51e50b73ba59f96fac7.png)  
basicly you select the time when you start/end the shifts and like you can see i selected 20,21 in hour for my start period cause my business opens at different times daily so by doing that and selecting in minutes: “every minute (\*)” it will start work period once the computer is started in one of the 2hours same for end work period once all tables are paid it will end work period during the selected time frame(it will not close work period if a table still isnt paid)

* * *

now the final step creating the rules

here you will create 2 rules for the start/end work period

 ![](https://forum.sambapos.com/uploads/default/original/3X/c/4/c4ed288726df9c391d88dfe00227662191337406.png)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/1/9/19c565047a02748dd156b6b5209bf0b0962b23b2.png)

* * *

now for the auto print report you create this rule

![](https://forum.sambapos.com/uploads/default/original/3X/e/2/e20c621dd69c9136a7f29bc6aa48d6bb4f590af8.png)

and for those who use multiple terminal just select a main terminal in both “auto end work period rule” and “auto print report rule” that way only one screen will end work period and the print will know where to look (if not done it will print for every terminal you have open)

* * *

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [December 5, 2016, 5:16am UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/2 "2016-12-05T05:16:39Z")

</div>

Next version has virtual work periods. No need to start or stop work periods it will auto do it based on your configured times. You physically stop work period when you need to adjust inventory. It will auto fill in all related work periods records etc it will auto restart on next day configured time. So you won’t ever need to start wp and maybe stop it only once a week for inventory.

This feature is being tested in beta now.

---

<div class="post-metadata">

**Author:** ![zaka360](https://forum.sambapos.com/user_avatar/forum.sambapos.com/zaka360/32/30580_2.png) [@zaka360](https://forum.sambapos.com/u/zaka360)\
**Post date:** [December 5, 2016, 5:19am UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/3 "2016-12-05T05:19:38Z")

</div>

nice really cant wait to try all the new features in next version

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [August 7, 2019, 7:28pm UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/4 "2019-08-07T19:28:43Z")

</div>

hello,  
Im trying to print a report at a certain time but cant make it work…  
cant understand why: =/

 ![image](https://forum.sambapos.com/uploads/default/original/3X/b/3/b31ff3ba2b476e800ea70527c927dfda0c110aac.png)  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/a/f/af2ed48e22daf496ff2a8b8e63e698805826a6b6.png)  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/3/f/3f9ad7950f08ce197a57f83a5592641bada1b31a.png)

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [August 7, 2019, 7:52pm UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/5 "2019-08-07T19:52:04Z")

</div>

Triggers don’t happen while in ticket or presumably admin…

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [August 9, 2019, 4:57pm UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/6 "2019-08-09T16:57:08Z")

</div>

Hello Joe  
so in wich cases is recomended to use it when nobody touches the pc?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [August 9, 2019, 4:58pm UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/7 "2019-08-09T16:58:16Z")

</div>

You can also use Metrik app and get sales real time.

 ![Screenshot_20190809-120122](https://forum.sambapos.com/uploads/default/original/3X/c/3/c3003778f786f898ce2cb370ce7731518858c5c1.png)

---

<div class="post-metadata">

**Author:** ![Laura\_Viviana\_Guille](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/l/58956e/32.png) [@Laura\_Viviana\_Guille](https://forum.sambapos.com/u/Laura_Viviana_Guille)\
**Post date:** [August 9, 2019, 8:18pm UTC](https://forum.sambapos.com/t/automated-start-end-work-period-auto-print-report/13379/8 "2019-08-09T20:18:43Z")

</div>

We, need a spanish version of Metrik, I’m happy to help with the translation
