diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-09-20 19:48:16 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-09-20 19:48:16 +0100 |
commit | c64f5578f3abef8bce1de02048e85e744ae467bd (patch) | |
tree | 92173301878b0cf139584cf0469f1b71807f88b9 | |
parent | c67ec9f37c46f42297a6844806debe439be290cd (diff) |
amended to allow passing of MSG
-rw-r--r-- | calendar/modevent.pl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/calendar/modevent.pl b/calendar/modevent.pl index 674e97c..70ea345 100644 --- a/calendar/modevent.pl +++ b/calendar/modevent.pl @@ -68,9 +68,5 @@ my $remfile = "~/.reminders/work.rem"; my ($host, $user) = check_env(); my $ssh = get_connection($host, 2222, $user); check_remind_file_exists($ssh, $host, $remfile ); -append_to_remfile($ssh, $host, $remfile, 'REM 16 Sept 2022 AT 11:11 MSG TEST2 %1'); +append_to_remfile($ssh, $host, $remfile, "$ARGV[0]\n"); exit; - - - - |