start
This commit is contained in:
@@ -2,6 +2,13 @@ package com.auction;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
// If arguments are passed, this is likely a one-off command via dokku run
|
||||
// Just exit immediately to allow the command to run
|
||||
if (args.length > 0) {
|
||||
System.out.println("Command mode - exiting to allow shell commands");
|
||||
return;
|
||||
}
|
||||
|
||||
System.out.println("Starting Troostwijk Auction Scraper...");
|
||||
System.out.println("Container is running and healthy.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user