\/bin\/date +%%Y-%%m-%%d<\/code>-desktop-zfs-replicate-192.168.1.79.log\"<\/code><\/pre>\nI also prefer using gnome-terminal so I can format the output on the screen better:<\/p>\n
Exec=gnome-terminal --profile=job-output -- bash -c \"sudo \/root\/scripts\/zfs-replication.sh -w 1 -t 192.168.1.79 | tee \/TANK\/backups\/logs\/\/bin\/date +%%Y-%%m-%%d<\/code>-desktop-zfs-replicate-192.168.1.79.log ; sleep 60\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"Executing commands or scripts from a GNOME desktop shortcut I have a few scripts that I only periodically execute. For<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,33],"tags":[],"class_list":["post-1706","post","type-post","status-publish","format-standard","hentry","category-bash","category-gnome"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1706"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1706\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}