I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded.
mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r`
I wanted to run a command randomly everyday. Here is a one liner cron that I created.
tar cf - * | ssh