Yes, you can have as many workflows as you want. They just have to have different names in your Procfile. In the article you pointed out, the only worker is called simply worker , but your Procfile might look something like this with two different workers, called updater and mailer :
web: java -jar web-app.jar $PORT updater: sh worker/target/bin/updater mailer: sh worker/target/bin/mailer
If you use the appassembler-maven-plugin shown in this article, you also need to add another <program>...</program> element for each of your workers so that start-up scripts are generated.
ryanbrainard Mar 27 '13 at 6:12 2013-03-27 06:12
source share