Simple way to interrupt flows

I am trying to get to a simple way to have flows triggered by user
input (preferably command line). the flows should trigger and then
stop every so often. Right now, I am using message queues but that is
causing timing issues.

Will be interested in hearing peoples view on the ways this can be
done in the GR framework.

Thanks

Affan