I started with the Taylor expansions of $\cos(1/x)$ and $e^x$
i.e
$\cos(1/x) : [ 1 - \frac{1}{2x^2} + o(\frac{1}{x^4}) ]$
and
$e^x : ( 1 + x + \frac{x^2}{2} + o(x^3) )$
I realise $e^x$ goes to $1$ as $x \to 0$ so can we ignore the $e^x$ term and focus only on the $\cos(1/x)$ term? How would you proceed from there on?
The limits along the sequences $(\frac 1 {\frac {\pi } 2+2n \pi})$ and $(\frac 1 {2n \pi})$ are $0$ and $1$ respectively. Hence the limit does not exist.
[$\cos (\frac {\pi } 2+2n \pi)=0$ for all $n$, $\cos ( 2n \pi)=1$ for all $n$ and $e^{x}$ part can be ignored as you have already observed. For existence of the limit it is necessary that limit along all sequences converging to $)$ are the same].