{"id":1171,"date":"2014-10-30T11:40:09","date_gmt":"2014-10-30T18:40:09","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1171"},"modified":"2014-10-30T11:40:09","modified_gmt":"2014-10-30T18:40:09","slug":"linux-at-command","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1171","title":{"rendered":"Linux &#8220;at&#8221; command"},"content":{"rendered":"<p>Long ago I used to use the at command quite often in a Unix environment.  I would just use the following syntax:<\/p>\n<blockquote><p># at now \/path\/scriptname<\/p><\/blockquote>\n<p>And it worked.<\/p>\n<p>Now, in Ubuntu, when I use the same syntax, I get the following:<\/p>\n<blockquote><p>syntax error. Last token seen: \/<br \/>\nGarbled time<\/p><\/blockquote>\n<p>The solution is to enter &#8220;at now&#8221; and hit enter.  At the at> prompt, enter the full path and name of the script you want to run.  Then, hit Ctrl-D to run the job and exit out of at.<\/p>\n<blockquote><p># at now<br \/>\nwarning: commands will be executed using \/bin\/sh<br \/>\nat> \/path\/scriptname<br \/>\nat> <EOT><br \/>\njob 7 at Thu Oct 30 11:30:00 2014<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Long ago I used to use the at command quite often in a Unix environment. I would just use the following syntax: # at now \/path\/scriptname And it worked. Now, in Ubuntu, when I use the same syntax, I get the following: syntax error. Last token seen: \/ Garbled time The solution is to enter [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[387,48],"class_list":["post-1171","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-at-command","tag-linux"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1171"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1171\/revisions"}],"predecessor-version":[{"id":1172,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1171\/revisions\/1172"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}