For one-shot scripts a better tool is the
at scheduler (provided the at daemon is active on the remote machine). You can do:
Code:
$ at now + 1 minute
at> your_command_here
at> <Ctrl-D>
Anyway, both at and cron have a time granularity of 1 minute, this means you cannot execute something automatically just after 30 seconds you logged-in. Please, can you provide some more details about what you're trying to achieve?